json-as 0.5.5 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,7 +49,7 @@ describe("Ser/de Numbers", () => {
49
49
  canSerde<u128Safe>(u128Safe.from("100"))
50
50
  canSerde<u128Safe>(u128Safe.from("101"))
51
51
 
52
- canSerde<u256>(u256.fromU128(u128.from("0")))
52
+ /* canSerde<u256>(u256.fromU128(u128.from("0")))
53
53
  canSerde<u256>(u256.fromU128(u128.from("100")))
54
54
  canSerde<u256>(u256.fromU128(u128.from("101")))
55
55
 
@@ -67,7 +67,7 @@ describe("Ser/de Numbers", () => {
67
67
  canSerde<i128Safe>(i128Safe.from("-100"))
68
68
  canSerde<i128Safe>(i128Safe.from("-101"))
69
69
 
70
- canSerde<i256Safe>(new i256Safe(10, 11, 500, 501))
70
+ canSerde<i256Safe>(new i256Safe(10, 11, 500, 501))*/
71
71
  });
72
72
 
73
73
  it("should ser/de floats", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-as",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "JSON encoder/decoder for AssemblyScript",
5
5
  "types": "assembly/index.ts",
6
6
  "author": "Jairus Tanaka",
@@ -81,7 +81,6 @@ class AsJSONTransform extends ClassDecorator {
81
81
  ${
82
82
  // @ts-ignore
83
83
  this.setDataStmts.join("")}
84
- throw new Error("Cannot find key: " + key);
85
84
  }
86
85
  `;
87
86
  //console.log(setKeyFunc, deserializeFunc, serializeFunc)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-as/transform",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "description": "JSON encoder/decoder for AssemblyScript",
5
5
  "main": "./lib/index.js",
6
6
  "author": "Jairus Tanaka",
@@ -104,7 +104,6 @@ class AsJSONTransform extends ClassDecorator {
104
104
  // @ts-ignore
105
105
  this.setDataStmts.join("")
106
106
  }
107
- throw new Error("Cannot find key: " + key);
108
107
  }
109
108
  `
110
109
  //console.log(setKeyFunc, deserializeFunc, serializeFunc)