@cartridge/controller-wasm 0.3.2 → 0.3.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cartridge/controller-wasm",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Wasm bindings for Cartridge Controller and Session Account",
5
5
  "type": "module",
6
6
  "main": "./pkg-controller/account_wasm.js",
@@ -83,6 +83,7 @@ export enum ErrorCode {
83
83
  GasPriceTooHigh = 138,
84
84
  TransactionTimeout = 139,
85
85
  ConversionError = 140,
86
+ InvalidChainId = 141,
86
87
  }
87
88
  export interface JsCall {
88
89
  contractAddress: JsFelt;
@@ -320,7 +320,7 @@ function __wbg_adapter_287(arg0, arg1, arg2, arg3) {
320
320
  }
321
321
 
322
322
  /**
323
- * @enum {1 | 20 | 24 | 27 | 28 | 29 | 31 | 32 | 33 | 34 | 40 | 41 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 10 | 64 | 65 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140}
323
+ * @enum {1 | 20 | 24 | 27 | 28 | 29 | 31 | 32 | 33 | 34 | 40 | 41 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 10 | 64 | 65 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141}
324
324
  */
325
325
  export const ErrorCode = Object.freeze({
326
326
  StarknetFailedToReceiveTransaction: 1, "1": "StarknetFailedToReceiveTransaction",
@@ -390,6 +390,7 @@ export const ErrorCode = Object.freeze({
390
390
  GasPriceTooHigh: 138, "138": "GasPriceTooHigh",
391
391
  TransactionTimeout: 139, "139": "TransactionTimeout",
392
392
  ConversionError: 140, "140": "ConversionError",
393
+ InvalidChainId: 141, "141": "InvalidChainId",
393
394
  });
394
395
 
395
396
  const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
@@ -1836,12 +1837,12 @@ export function __wbindgen_closure_wrapper2599(arg0, arg1, arg2) {
1836
1837
  return addHeapObject(ret);
1837
1838
  };
1838
1839
 
1839
- export function __wbindgen_closure_wrapper8287(arg0, arg1, arg2) {
1840
+ export function __wbindgen_closure_wrapper8294(arg0, arg1, arg2) {
1840
1841
  const ret = makeMutClosure(arg0, arg1, 880, __wbg_adapter_47);
1841
1842
  return addHeapObject(ret);
1842
1843
  };
1843
1844
 
1844
- export function __wbindgen_closure_wrapper8436(arg0, arg1, arg2) {
1845
+ export function __wbindgen_closure_wrapper8443(arg0, arg1, arg2) {
1845
1846
  const ret = makeMutClosure(arg0, arg1, 914, __wbg_adapter_50);
1846
1847
  return addHeapObject(ret);
1847
1848
  };
Binary file
@@ -68,6 +68,7 @@ export enum ErrorCode {
68
68
  GasPriceTooHigh = 138,
69
69
  TransactionTimeout = 139,
70
70
  ConversionError = 140,
71
+ InvalidChainId = 141,
71
72
  }
72
73
  export interface JsCall {
73
74
  contractAddress: JsFelt;
@@ -252,7 +252,7 @@ function __wbg_adapter_201(arg0, arg1, arg2, arg3) {
252
252
  }
253
253
 
254
254
  /**
255
- * @enum {1 | 20 | 24 | 27 | 28 | 29 | 31 | 32 | 33 | 34 | 40 | 41 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 10 | 64 | 65 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140}
255
+ * @enum {1 | 20 | 24 | 27 | 28 | 29 | 31 | 32 | 33 | 34 | 40 | 41 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 10 | 64 | 65 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141}
256
256
  */
257
257
  export const ErrorCode = Object.freeze({
258
258
  StarknetFailedToReceiveTransaction: 1, "1": "StarknetFailedToReceiveTransaction",
@@ -322,6 +322,7 @@ export const ErrorCode = Object.freeze({
322
322
  GasPriceTooHigh: 138, "138": "GasPriceTooHigh",
323
323
  TransactionTimeout: 139, "139": "TransactionTimeout",
324
324
  ConversionError: 140, "140": "ConversionError",
325
+ InvalidChainId: 141, "141": "InvalidChainId",
325
326
  });
326
327
 
327
328
  const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
@@ -1035,13 +1036,13 @@ export function __wbindgen_cb_drop(arg0) {
1035
1036
  return ret;
1036
1037
  };
1037
1038
 
1038
- export function __wbindgen_closure_wrapper3368(arg0, arg1, arg2) {
1039
- const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_42);
1039
+ export function __wbindgen_closure_wrapper3371(arg0, arg1, arg2) {
1040
+ const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_42);
1040
1041
  return addHeapObject(ret);
1041
1042
  };
1042
1043
 
1043
- export function __wbindgen_closure_wrapper3504(arg0, arg1, arg2) {
1044
- const ret = makeMutClosure(arg0, arg1, 437, __wbg_adapter_45);
1044
+ export function __wbindgen_closure_wrapper3507(arg0, arg1, arg2) {
1045
+ const ret = makeMutClosure(arg0, arg1, 436, __wbg_adapter_45);
1045
1046
  return addHeapObject(ret);
1046
1047
  };
1047
1048
 
Binary file