diff --git a/scaffolds/nextjs-dedicated-wallet/template/package-lock.json b/scaffolds/nextjs-dedicated-wallet/template/package-lock.json index 8bad34b..0510a69 100644 --- a/scaffolds/nextjs-dedicated-wallet/template/package-lock.json +++ b/scaffolds/nextjs-dedicated-wallet/template/package-lock.json @@ -8,14 +8,13 @@ "name": "ejs-test-project", "version": "0.1.0", "dependencies": { - "@magic-ext/auth": "^4.0.0", - "@magic-ext/oauth": "^15.0.0", + "@magic-ext/oauth": "^22.0.7", "@types/node": "20.3.3", "@types/react": "18.2.14", "@types/react-dom": "18.2.6", "autoprefixer": "10.4.14", "classnames": "^2.3.2", - "magic-sdk": "^21.0.0", + "magic-sdk": "^28.0.7", "next": "13.4.7", "postcss": "8.4.24", "react": "18.2.0", @@ -417,31 +416,29 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@magic-ext/auth": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/@magic-ext/auth/-/auth-4.3.2.tgz", - "integrity": "sha512-TKI1Hv56fZ/tLSAmCH3gLkPrRz96CWcDc8AwkdXxqll1EfsqIKHRVUrgMQjIljkaleW2GI2lQ4tiEP2yTzkTTA==" - }, "node_modules/@magic-ext/oauth": { - "version": "15.3.2", - "resolved": "https://registry.npmjs.org/@magic-ext/oauth/-/oauth-15.3.2.tgz", - "integrity": "sha512-Rw4HBCurqrnRVGRSNp2YcObPKGwhR1XFh/vViokcHVi3LBnpdawJSK2M+cnxUyqCcs9UclerbPDofP/4hEv0Jw==" + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@magic-ext/oauth/-/oauth-22.2.0.tgz", + "integrity": "sha512-p0R2dHf83AA2SQ5IhIxmV7rtDjU0AofeV+s0uG8Pn+5oU7BhScfm0yPWMKhepoJYnsaEMHqjd0HPF23sXWkVIQ==", + "dependencies": { + "crypto-js": "^3.3.0" + } }, "node_modules/@magic-sdk/commons": { - "version": "17.3.1", - "resolved": "https://registry.npmjs.org/@magic-sdk/commons/-/commons-17.3.1.tgz", - "integrity": "sha512-x8ScRy2U34of6hawSQN5d8Ol9OtXVbES0TX1GweDAtanrgcPw8/LFX0rk41qEOSvM6am17Eg/UGduJ1QYbu6pA==", + "version": "24.2.0", + "resolved": "https://registry.npmjs.org/@magic-sdk/commons/-/commons-24.2.0.tgz", + "integrity": "sha512-g3sruzr0RzNZurWYEPWV9JI0Odgj4fwPeC/Q54N/Ph/pLMoo8p6N04wGA6bZs+9kZ9DmR60tS71v7x0c2+FfbQ==", "peerDependencies": { "@magic-sdk/provider": ">=18.6.0", "@magic-sdk/types": ">=15.8.0" } }, "node_modules/@magic-sdk/provider": { - "version": "21.3.1", - "resolved": "https://registry.npmjs.org/@magic-sdk/provider/-/provider-21.3.1.tgz", - "integrity": "sha512-OSXzdDxvP6dyXLm0LultHzUMzzkmQLU8n2G+CelgmYPiVKkOjCPjuUEvurgC8J+m5yz7KmjceQwSpZRZ/9jMkA==", + "version": "28.2.0", + "resolved": "https://registry.npmjs.org/@magic-sdk/provider/-/provider-28.2.0.tgz", + "integrity": "sha512-ie6yoMdVhrYLFJ6SOhJdqPJDVZGUU+6sjmMrykaNRhQJrYsDpFxO+3fuIt0Z/WA86YewkyftdmcMgGpz93roIQ==", "dependencies": { - "@magic-sdk/types": "^17.2.0", + "@magic-sdk/types": "^24.0.5", "eventemitter3": "^4.0.4", "web3-core": "1.5.2" }, @@ -450,9 +447,9 @@ } }, "node_modules/@magic-sdk/types": { - "version": "17.2.0", - "resolved": "https://registry.npmjs.org/@magic-sdk/types/-/types-17.2.0.tgz", - "integrity": "sha512-VJmGP+DwMnuIuMLb+IDHNAkYLcHH+XqPwHb6mcLNI9e30CDMXoFN60hmdhDRZLjI9JF/NPS3eEsd40Xz6Iih2A==" + "version": "24.0.5", + "resolved": "https://registry.npmjs.org/@magic-sdk/types/-/types-24.0.5.tgz", + "integrity": "sha512-RTG3AmAxX+ZGqv3gdJ9+cPZoAa2j0MG1v0OCPcf9kaDbO51xD+FjBbh4Evbcx1ch6092Pq2t50c4VgiSG7KGSg==" }, "node_modules/@next/env": { "version": "13.4.7", @@ -1206,9 +1203,9 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "node_modules/base-x": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz", - "integrity": "sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==", + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz", + "integrity": "sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==", "dependencies": { "safe-buffer": "^5.0.1" } @@ -1249,11 +1246,11 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -1582,6 +1579,11 @@ "node": ">= 8" } }, + "node_modules/crypto-js": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.3.0.tgz", + "integrity": "sha512-DIT51nX0dCfKltpRiXV+/TVZq+Qq2NgF4644+K7Ttnla7zEzqc+kjJyiB96BHNyUTBxyjzRcZYpUdZa+QAqi6Q==" + }, "node_modules/cssesc": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", @@ -1599,12 +1601,15 @@ "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" }, "node_modules/d": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", - "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.2.tgz", + "integrity": "sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==", "dependencies": { - "es5-ext": "^0.10.50", - "type": "^1.0.1" + "es5-ext": "^0.10.64", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.12" } }, "node_modules/damerau-levenshtein": { @@ -1892,13 +1897,14 @@ } }, "node_modules/es5-ext": { - "version": "0.10.62", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz", - "integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==", + "version": "0.10.64", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", + "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", "hasInstallScript": true, "dependencies": { "es6-iterator": "^2.0.3", "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", "next-tick": "^1.1.0" }, "engines": { @@ -1916,12 +1922,15 @@ } }, "node_modules/es6-symbol": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", - "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.4.tgz", + "integrity": "sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==", "dependencies": { - "d": "^1.0.1", - "ext": "^1.1.2" + "d": "^1.0.2", + "ext": "^1.7.0" + }, + "engines": { + "node": ">=0.12" } }, "node_modules/escalade": { @@ -2295,6 +2304,20 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/esniff": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", + "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", + "dependencies": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.10" + } + }, "node_modules/espree": { "version": "9.6.1", "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", @@ -2370,11 +2393,22 @@ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" }, "node_modules/ethereum-bloom-filters": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz", - "integrity": "sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/ethereum-bloom-filters/-/ethereum-bloom-filters-1.2.0.tgz", + "integrity": "sha512-28hyiE7HVsWubqhpVLVmZXFd4ITeHi+BUu05o9isf0GUpMtzBUi+8/gFrGaGYzvGAJQmJ3JKj77Mk9G98T84rA==", "dependencies": { - "js-sha3": "^0.8.0" + "@noble/hashes": "^1.4.0" + } + }, + "node_modules/ethereum-bloom-filters/node_modules/@noble/hashes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", + "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" } }, "node_modules/ethereum-cryptography": { @@ -2440,6 +2474,15 @@ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", "integrity": "sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA==" }, + "node_modules/event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, "node_modules/eventemitter3": { "version": "4.0.7", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", @@ -2462,11 +2505,6 @@ "type": "^2.7.2" } }, - "node_modules/ext/node_modules/type": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", - "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -2532,9 +2570,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -3578,13 +3616,13 @@ } }, "node_modules/magic-sdk": { - "version": "21.3.1", - "resolved": "https://registry.npmjs.org/magic-sdk/-/magic-sdk-21.3.1.tgz", - "integrity": "sha512-3z5XZFDIRLOJGHG4gR62bUVK2AgvmrVcBHqnbkN427t+/RGOyeQ7G2r5hWvDrzqvmv1fo2VO0vn2Y/eBa+UyZQ==", + "version": "28.2.0", + "resolved": "https://registry.npmjs.org/magic-sdk/-/magic-sdk-28.2.0.tgz", + "integrity": "sha512-XNdsoynu6ikGG8pkq/EF/kJA9I5N0PihyDuMC7+so4HvG6zmezRzQaPtKF2rHmHzGLvIHJYGgbG5SytyWPwUiw==", "dependencies": { - "@magic-sdk/commons": "^17.3.1", - "@magic-sdk/provider": "^21.3.1", - "@magic-sdk/types": "^17.2.0", + "@magic-sdk/commons": "^24.2.0", + "@magic-sdk/provider": "^28.2.0", + "@magic-sdk/types": "^24.0.5", "localforage": "^1.7.4" } }, @@ -5154,9 +5192,9 @@ "dev": true }, "node_modules/type": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", - "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.3.tgz", + "integrity": "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==" }, "node_modules/type-check": { "version": "0.4.0", @@ -6146,13 +6184,13 @@ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "node_modules/websocket": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz", - "integrity": "sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==", + "version": "1.0.35", + "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.35.tgz", + "integrity": "sha512-/REy6amwPZl44DDzvRCkaI1q1bIiQB0mEFQLUrhz3z2EK91cp3n72rAjUlrTP0zV22HJIUOVHQGPxhFRjxjt+Q==", "dependencies": { "bufferutil": "^4.0.1", "debug": "^2.2.0", - "es5-ext": "^0.10.50", + "es5-ext": "^0.10.63", "typedarray-to-buffer": "^3.1.5", "utf-8-validate": "^5.0.2", "yaeti": "^0.0.6"