@dfinity/candid
Advanced tools
Comparing version 0.15.7 to 0.16.0
@@ -1566,5 +1566,14 @@ "use strict"; | ||
rawTable.forEach((entry, i) => { | ||
const t = buildType(entry); | ||
table[i].fill(t); | ||
// Process function type first, so that we can construct the correct service type | ||
if (entry[0] === -22 /* IDLTypeIds.Func */) { | ||
const t = buildType(entry); | ||
table[i].fill(t); | ||
} | ||
}); | ||
rawTable.forEach((entry, i) => { | ||
if (entry[0] !== -22 /* IDLTypeIds.Func */) { | ||
const t = buildType(entry); | ||
table[i].fill(t); | ||
} | ||
}); | ||
const types = rawTypes.map(t => getType(t)); | ||
@@ -1571,0 +1580,0 @@ const output = retTypes.map((t, i) => { |
@@ -1537,5 +1537,14 @@ // tslint:disable:max-classes-per-file | ||
rawTable.forEach((entry, i) => { | ||
const t = buildType(entry); | ||
table[i].fill(t); | ||
// Process function type first, so that we can construct the correct service type | ||
if (entry[0] === -22 /* IDLTypeIds.Func */) { | ||
const t = buildType(entry); | ||
table[i].fill(t); | ||
} | ||
}); | ||
rawTable.forEach((entry, i) => { | ||
if (entry[0] !== -22 /* IDLTypeIds.Func */) { | ||
const t = buildType(entry); | ||
table[i].fill(t); | ||
} | ||
}); | ||
const types = rawTypes.map(t => getType(t)); | ||
@@ -1542,0 +1551,0 @@ const output = retTypes.map((t, i) => { |
{ | ||
"name": "@dfinity/candid", | ||
"version": "0.15.7", | ||
"version": "0.16.0", | ||
"author": "DFINITY Stiftung <sdk@dfinity.org>", | ||
@@ -55,6 +55,6 @@ "license": "Apache-2.0", | ||
"esbuild": "^0.15.16", | ||
"eslint-plugin-jsdoc": "^39.3.3", | ||
"eslint": "^8.19.0", | ||
"eslint-plugin-jsdoc": "^39.3.3", | ||
"jest-diff": "^27.3.1", | ||
"jest": "^28.1.2", | ||
"jest-diff": "^27.3.1", | ||
"prettier": "^2.0.5", | ||
@@ -64,2 +64,3 @@ "size-limit": "^8.1.0", | ||
"ts-jest": "^28.0.5", | ||
"ts-node": "^10.8.2", | ||
"tslint": "^5.20.0", | ||
@@ -70,5 +71,2 @@ "typedoc": "^0.22.11", | ||
}, | ||
"dependencies": { | ||
"ts-node": "^10.8.2" | ||
}, | ||
"size-limit": [ | ||
@@ -75,0 +73,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
621149
0
6720
17
- Removedts-node@^10.8.2
- Removed@cspotcode/source-map-support@0.8.1(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.9(transitive)
- Removed@tsconfig/node10@1.0.11(transitive)
- Removed@tsconfig/node12@1.0.11(transitive)
- Removed@tsconfig/node14@1.0.3(transitive)
- Removed@tsconfig/node16@1.0.4(transitive)
- Removed@types/node@22.9.0(transitive)
- Removedacorn@8.14.0(transitive)
- Removedacorn-walk@8.3.4(transitive)
- Removedarg@4.1.3(transitive)
- Removedcreate-require@1.1.1(transitive)
- Removeddiff@4.0.2(transitive)
- Removedmake-error@1.3.6(transitive)
- Removedts-node@10.9.2(transitive)
- Removedtypescript@5.6.3(transitive)
- Removedundici-types@6.19.8(transitive)
- Removedv8-compile-cache-lib@3.0.1(transitive)
- Removedyn@3.1.1(transitive)