Skip to content

Commit 92cc5a2

Browse files
Willem Wyndhamwillemneal
authored andcommitted
Fix u64 parsing
1 parent 92e5289 commit 92cc5a2

File tree

5 files changed

+9799
-5
lines changed

5 files changed

+9799
-5
lines changed

bindings/dist/transformerBundle.js

Lines changed: 9795 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class NEARBindingsBuilder extends BaseVisitor {
270270
matchingFields.forEach(field => {
271271
// tslint:disable-next-line: as-variables
272272
let fieldTypeName = this.typeName(field.type);
273-
if (setterType == "string" && fieldTypeName != "string") {
273+
if (setterType == "String" && fieldTypeName != "string") {
274274
if (fieldTypeName == "Uint8Array") {
275275
this.sb.push(`if (name == "${field.name}") {
276276
${valuePrefix}${field.name} = base64.decode(value);

dist/asc.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/asc.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"build:bundle": "webpack --mode production --display-modules",
4545
"build:dts": "node scripts/build-dts",
4646
"build:bindings:prod": "npm run build:bindings -- --mode=production",
47-
"build:bindings:dev":"npm run build:bindings -- --mode=development",
47+
"build:bindings:dev": "npm run build:bindings -- --mode=development",
4848
"build:bindings": "cd ./bindings && webpack",
4949
"clean": "node scripts/clean",
5050
"check": "npm run check:config && npm run check:compiler",

0 commit comments

Comments
 (0)