@atomiqlabs/chain-starknet 4.0.0-dev.18 → 4.0.0-dev.19

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.
@@ -117,7 +117,7 @@ class StarknetSwapData extends base_1.SwapData {
117
117
  claimerBounty: this.claimerBounty == null ? null : this.claimerBounty.toString(10),
118
118
  kind: this.kind,
119
119
  extraData: this.extraData,
120
- successAction: this.successAction == null ? null : {
120
+ successAction: this.successAction == null || Array.isArray(this.successAction) ? null : {
121
121
  executionHash: this.successAction.executionHash,
122
122
  executionExpiry: this.successAction.executionExpiry.toString(10),
123
123
  executionFee: this.successAction.executionFee.toString(10)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/chain-starknet",
3
- "version": "4.0.0-dev.18",
3
+ "version": "4.0.0-dev.19",
4
4
  "description": "Starknet specific base implementation",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -207,7 +207,7 @@ export class StarknetSwapData extends SwapData {
207
207
  claimerBounty: this.claimerBounty==null ? null : this.claimerBounty.toString(10),
208
208
  kind: this.kind,
209
209
  extraData: this.extraData,
210
- successAction: this.successAction==null ? null : {
210
+ successAction: this.successAction==null || Array.isArray(this.successAction) ? null : {
211
211
  executionHash: this.successAction.executionHash,
212
212
  executionExpiry: this.successAction.executionExpiry.toString(10),
213
213
  executionFee: this.successAction.executionFee.toString(10)