starknet 7.4.0 → 7.5.0
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/CHANGELOG.md +10 -0
- package/dist/index.d.ts +10 -10
- package/dist/index.global.js +23 -22
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +13 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -207,10 +207,10 @@ __export(api_exports, {
|
|
|
207
207
|
var jsonrpc_exports = {};
|
|
208
208
|
|
|
209
209
|
// src/types/api/index.ts
|
|
210
|
-
var RPCSPEC07 = __toESM(require("starknet-types-07"));
|
|
211
|
-
var RPCSPEC08 = __toESM(require("starknet-types-08"));
|
|
212
|
-
var import_starknet_types_08 = require("starknet-types-08");
|
|
213
|
-
__reExport(api_exports, require("starknet-types-08"));
|
|
210
|
+
var RPCSPEC07 = __toESM(require("@starknet-io/starknet-types-07"));
|
|
211
|
+
var RPCSPEC08 = __toESM(require("@starknet-io/starknet-types-08"));
|
|
212
|
+
var import_starknet_types_08 = require("@starknet-io/starknet-types-08");
|
|
213
|
+
__reExport(api_exports, require("@starknet-io/starknet-types-08"));
|
|
214
214
|
|
|
215
215
|
// src/utils/encode.ts
|
|
216
216
|
var encode_exports = {};
|
|
@@ -637,7 +637,7 @@ var BlockTag = {
|
|
|
637
637
|
};
|
|
638
638
|
|
|
639
639
|
// src/provider/types/spec.type.ts
|
|
640
|
-
var RPCSPEC082 = __toESM(require("starknet-types-08"));
|
|
640
|
+
var RPCSPEC082 = __toESM(require("@starknet-io/starknet-types-08"));
|
|
641
641
|
var { ETransactionVersion: ETransactionVersion2 } = RPCSPEC082;
|
|
642
642
|
var { ETransactionVersion2: ETransactionVersion22 } = RPCSPEC082;
|
|
643
643
|
var { ETransactionVersion3 } = RPCSPEC082;
|
|
@@ -729,7 +729,7 @@ var OutsideExecutionVersion = {
|
|
|
729
729
|
};
|
|
730
730
|
|
|
731
731
|
// src/types/typedData.ts
|
|
732
|
-
var import_starknet_types_07 = require("starknet-types-07");
|
|
732
|
+
var import_starknet_types_07 = require("@starknet-io/starknet-types-07");
|
|
733
733
|
|
|
734
734
|
// src/utils/json.ts
|
|
735
735
|
var json_exports = {};
|
|
@@ -9210,13 +9210,14 @@ var convertFEE_MODE = (feeMode) => {
|
|
|
9210
9210
|
}
|
|
9211
9211
|
return { mode: "default", gasToken: feeMode.gas_token };
|
|
9212
9212
|
};
|
|
9213
|
-
var convertTimeBounds = (timeBounds) => timeBounds
|
|
9214
|
-
execute_after: timeBounds.executeAfter
|
|
9215
|
-
|
|
9213
|
+
var convertTimeBounds = (timeBounds) => timeBounds ? {
|
|
9214
|
+
execute_after: timeBounds.executeAfter || 1,
|
|
9215
|
+
// If executeAfter is not provided, set it to 1, meaning the transaction can be executed immediately
|
|
9216
|
+
execute_before: timeBounds.executeBefore
|
|
9216
9217
|
} : void 0;
|
|
9217
|
-
var convertTIME_BOUNDS = (timeBounds) => timeBounds
|
|
9218
|
-
executeAfter:
|
|
9219
|
-
executeBefore:
|
|
9218
|
+
var convertTIME_BOUNDS = (timeBounds) => timeBounds ? {
|
|
9219
|
+
executeAfter: timeBounds.execute_after,
|
|
9220
|
+
executeBefore: timeBounds.execute_before
|
|
9220
9221
|
} : void 0;
|
|
9221
9222
|
var convertEXECUTION_PARAMETERS = (parameters) => ({
|
|
9222
9223
|
version: parameters.version,
|