starknet 6.0.0-beta.2 → 6.0.0-beta.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/CHANGELOG.md +6 -0
- package/dist/index.global.js +5 -2
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# [6.0.0-beta.3](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.2...v6.0.0-beta.3) (2023-12-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **beta:** deploy account ([#880](https://github.com/starknet-io/starknet.js/issues/880)) ([00c58e3](https://github.com/starknet-io/starknet.js/commit/00c58e3c6d03b716b68c1b96b5a4adc1cff87dd0))
|
|
6
|
+
|
|
1
7
|
# [6.0.0-beta.2](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.1...v6.0.0-beta.2) (2023-12-07)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/dist/index.global.js
CHANGED
|
@@ -11429,9 +11429,12 @@ var starknet = (() => {
|
|
|
11429
11429
|
resource_bounds: invocation.resourceBounds,
|
|
11430
11430
|
tip: toHex(invocation.tip),
|
|
11431
11431
|
paymaster_data: invocation.paymasterData.map((it) => toHex(it)),
|
|
11432
|
-
account_deployment_data: invocation.accountDeploymentData.map((it) => toHex(it)),
|
|
11433
11432
|
nonce_data_availability_mode: invocation.nonceDataAvailabilityMode,
|
|
11434
|
-
fee_data_availability_mode: invocation.feeDataAvailabilityMode
|
|
11433
|
+
fee_data_availability_mode: invocation.feeDataAvailabilityMode,
|
|
11434
|
+
// dont add account_deployment_data if invocation.type === TransactionType.DEPLOY_ACCOUNT
|
|
11435
|
+
...invocation.type === "DEPLOY_ACCOUNT" /* DEPLOY_ACCOUNT */ ? {} : {
|
|
11436
|
+
account_deployment_data: invocation.accountDeploymentData.map((it) => toHex(it))
|
|
11437
|
+
}
|
|
11435
11438
|
};
|
|
11436
11439
|
}
|
|
11437
11440
|
if (invocation.type === "INVOKE_FUNCTION" /* INVOKE */) {
|