diff --git a/examples/icrc/package-lock.json b/examples/icrc/package-lock.json index 45a7471f2e..d115fbf4b6 100644 --- a/examples/icrc/package-lock.json +++ b/examples/icrc/package-lock.json @@ -10,7 +10,7 @@ "devDependencies": { "@dfinity/agent": "0.14.1", "ts-node": "10.7.0", - "typescript": "4.6.3" + "typescript": "5.2.2" } }, "node_modules/@adraffy/ens-normalize": { @@ -1144,18 +1144,6 @@ } } }, - "node_modules/azle/node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "node_modules/base-x": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", @@ -2281,16 +2269,15 @@ "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" }, "node_modules/typescript": { - "version": "4.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz", - "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", - "dev": true, + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/universalify": { diff --git a/examples/icrc/test/tests.ts b/examples/icrc/test/tests.ts index d15f19f222..9022d6deab 100644 --- a/examples/icrc/test/tests.ts +++ b/examples/icrc/test/tests.ts @@ -152,6 +152,7 @@ export function getTests(proxyCanister: ActorSubclass<_SERVICE>): Test[] { name: 'icrc2_transfer_from', test: async () => { const result = await proxyCanister.icrc2_transfer_from({ + spender_subaccount: [], from: { owner: Principal.fromText( 'r7inp-6aaaa-aaaaa-aaabq-cai'