starknet 6.0.0-beta.2 → 6.0.0-beta.4
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 +16 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.global.js +5 -5
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# [6.0.0-beta.4](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.3...v6.0.0-beta.4) (2023-12-08)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- remove account_deployment_data from deploy Account ([ede83bf](https://github.com/starknet-io/starknet.js/commit/ede83bfda3c6fcfa9dd397c92bd709293c8dda9b))
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- simulate skip validate by default, spec deploy acc fix ([1b3e7ae](https://github.com/starknet-io/starknet.js/commit/1b3e7aeadaba5b7d59377e249b535f6a8cb8862e))
|
|
10
|
+
|
|
11
|
+
# [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)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- **beta:** deploy account ([#880](https://github.com/starknet-io/starknet.js/issues/880)) ([00c58e3](https://github.com/starknet-io/starknet.js/commit/00c58e3c6d03b716b68c1b96b5a4adc1cff87dd0))
|
|
16
|
+
|
|
1
17
|
# [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
18
|
|
|
3
19
|
### Features
|
package/dist/index.d.ts
CHANGED
package/dist/index.global.js
CHANGED
|
@@ -11114,7 +11114,7 @@ var starknet = (() => {
|
|
|
11114
11114
|
*/
|
|
11115
11115
|
simulateTransaction(invocations, {
|
|
11116
11116
|
blockIdentifier = this.blockIdentifier,
|
|
11117
|
-
skipValidate =
|
|
11117
|
+
skipValidate = true,
|
|
11118
11118
|
skipFeeCharge = true
|
|
11119
11119
|
} = {}) {
|
|
11120
11120
|
const block_id = new Block(blockIdentifier).identifier;
|
|
@@ -11362,7 +11362,6 @@ var starknet = (() => {
|
|
|
11362
11362
|
resource_bounds: details.resourceBounds,
|
|
11363
11363
|
tip: toHex(details.tip),
|
|
11364
11364
|
paymaster_data: details.paymasterData.map((it) => toHex(it)),
|
|
11365
|
-
account_deployment_data: details.accountDeploymentData.map((it) => toHex(it)),
|
|
11366
11365
|
nonce_data_availability_mode: details.nonceDataAvailabilityMode,
|
|
11367
11366
|
fee_data_availability_mode: details.feeDataAvailabilityMode
|
|
11368
11367
|
}
|
|
@@ -11429,9 +11428,9 @@ var starknet = (() => {
|
|
|
11429
11428
|
resource_bounds: invocation.resourceBounds,
|
|
11430
11429
|
tip: toHex(invocation.tip),
|
|
11431
11430
|
paymaster_data: invocation.paymasterData.map((it) => toHex(it)),
|
|
11432
|
-
account_deployment_data: invocation.accountDeploymentData.map((it) => toHex(it)),
|
|
11433
11431
|
nonce_data_availability_mode: invocation.nonceDataAvailabilityMode,
|
|
11434
|
-
fee_data_availability_mode: invocation.feeDataAvailabilityMode
|
|
11432
|
+
fee_data_availability_mode: invocation.feeDataAvailabilityMode,
|
|
11433
|
+
account_deployment_data: invocation.accountDeploymentData.map((it) => toHex(it))
|
|
11435
11434
|
};
|
|
11436
11435
|
}
|
|
11437
11436
|
if (invocation.type === "INVOKE_FUNCTION" /* INVOKE */) {
|
|
@@ -11469,13 +11468,14 @@ var starknet = (() => {
|
|
|
11469
11468
|
};
|
|
11470
11469
|
}
|
|
11471
11470
|
if (invocation.type === "DEPLOY_ACCOUNT" /* DEPLOY_ACCOUNT */) {
|
|
11471
|
+
const { account_deployment_data, ...restDetails } = details;
|
|
11472
11472
|
return {
|
|
11473
11473
|
type: invocation.type,
|
|
11474
11474
|
constructor_calldata: CallData.toHex(invocation.constructorCalldata || []),
|
|
11475
11475
|
class_hash: toHex(invocation.classHash),
|
|
11476
11476
|
contract_address_salt: toHex(invocation.addressSalt || 0),
|
|
11477
11477
|
version: toHex(invocation.version || defaultVersions.v3),
|
|
11478
|
-
...
|
|
11478
|
+
...restDetails
|
|
11479
11479
|
};
|
|
11480
11480
|
}
|
|
11481
11481
|
throw Error("RPC buildTransaction received unknown TransactionType");
|