@cashie/core-lib 1.4.0 → 1.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/dist/abi/abi.d.ts CHANGED
@@ -191,10 +191,6 @@ export declare const CASHIE_ROUTER_V1_CONTRACT_ABI: readonly [{
191
191
  readonly type: "bytes";
192
192
  readonly internalType: "bytes";
193
193
  }];
194
- }, {
195
- readonly name: "beneficiaryAddress";
196
- readonly type: "address";
197
- readonly internalType: "address";
198
194
  }, {
199
195
  readonly name: "salt";
200
196
  readonly type: "bytes32";
@@ -448,10 +444,6 @@ export declare const CASHIE_ROUTER_V1_CONTRACT_ABI: readonly [{
448
444
  readonly name: "_allowance";
449
445
  readonly type: "uint256";
450
446
  readonly internalType: "uint256";
451
- }, {
452
- readonly name: "beneficiaryAddress";
453
- readonly type: "address";
454
- readonly internalType: "address";
455
447
  }, {
456
448
  readonly name: "_receiptBadgeRouterMintPayload";
457
449
  readonly type: "tuple";
@@ -491,10 +483,6 @@ export declare const CASHIE_ROUTER_V1_CONTRACT_ABI: readonly [{
491
483
  readonly name: "_allowance";
492
484
  readonly type: "uint256";
493
485
  readonly internalType: "uint256";
494
- }, {
495
- readonly name: "beneficiaryAddress";
496
- readonly type: "address";
497
- readonly internalType: "address";
498
486
  }, {
499
487
  readonly name: "_receiptBadgeRouterMintPayload";
500
488
  readonly type: "tuple";
@@ -534,10 +522,6 @@ export declare const CASHIE_ROUTER_V1_CONTRACT_ABI: readonly [{
534
522
  readonly name: "_allowance";
535
523
  readonly type: "uint256";
536
524
  readonly internalType: "uint256";
537
- }, {
538
- readonly name: "beneficiaryAddress";
539
- readonly type: "address";
540
- readonly internalType: "address";
541
525
  }, {
542
526
  readonly name: "_receiptBadgeRouterMintPayload";
543
527
  readonly type: "tuple";
@@ -609,10 +593,6 @@ export declare const CASHIE_ROUTER_V1_CONTRACT_ABI: readonly [{
609
593
  readonly name: "accountAddress";
610
594
  readonly type: "address";
611
595
  readonly internalType: "address";
612
- }, {
613
- readonly name: "beneficiaryAddress";
614
- readonly type: "address";
615
- readonly internalType: "address";
616
596
  }];
617
597
  readonly outputs: readonly [];
618
598
  readonly stateMutability: "nonpayable";
@@ -778,10 +758,6 @@ export declare const CASHIE_ROUTER_V1_CONTRACT_ABI: readonly [{
778
758
  readonly name: "_allowance";
779
759
  readonly type: "uint256";
780
760
  readonly internalType: "uint256";
781
- }, {
782
- readonly name: "beneficiaryAddress";
783
- readonly type: "address";
784
- readonly internalType: "address";
785
761
  }];
786
762
  readonly outputs: readonly [];
787
763
  readonly stateMutability: "nonpayable";
@@ -1112,6 +1088,10 @@ export declare const CASHIE_ROUTER_V1_CONTRACT_ABI: readonly [{
1112
1088
  readonly type: "error";
1113
1089
  readonly name: "MembershipBadgeNotActive";
1114
1090
  readonly inputs: readonly [];
1091
+ }, {
1092
+ readonly type: "error";
1093
+ readonly name: "MembershipBadgeNotMinted";
1094
+ readonly inputs: readonly [];
1115
1095
  }, {
1116
1096
  readonly type: "error";
1117
1097
  readonly name: "NotAccountOwner";
@@ -1378,11 +1358,11 @@ export declare const CASHIE_IDENTITY_SOUL_CONTRACT_ABI: readonly [{
1378
1358
  readonly type: "function";
1379
1359
  readonly name: "approve";
1380
1360
  readonly inputs: readonly [{
1381
- readonly name: "to";
1361
+ readonly name: "";
1382
1362
  readonly type: "address";
1383
1363
  readonly internalType: "address";
1384
1364
  }, {
1385
- readonly name: "tokenId";
1365
+ readonly name: "";
1386
1366
  readonly type: "uint256";
1387
1367
  readonly internalType: "uint256";
1388
1368
  }];
@@ -1643,26 +1623,26 @@ export declare const CASHIE_IDENTITY_SOUL_CONTRACT_ABI: readonly [{
1643
1623
  readonly type: "uint256";
1644
1624
  readonly internalType: "uint256";
1645
1625
  }, {
1646
- readonly name: "_data";
1626
+ readonly name: "data";
1647
1627
  readonly type: "bytes";
1648
1628
  readonly internalType: "bytes";
1649
1629
  }];
1650
1630
  readonly outputs: readonly [];
1651
- readonly stateMutability: "pure";
1631
+ readonly stateMutability: "nonpayable";
1652
1632
  }, {
1653
1633
  readonly type: "function";
1654
1634
  readonly name: "setApprovalForAll";
1655
1635
  readonly inputs: readonly [{
1656
- readonly name: "operator";
1636
+ readonly name: "";
1657
1637
  readonly type: "address";
1658
1638
  readonly internalType: "address";
1659
1639
  }, {
1660
- readonly name: "approved";
1640
+ readonly name: "";
1661
1641
  readonly type: "bool";
1662
1642
  readonly internalType: "bool";
1663
1643
  }];
1664
1644
  readonly outputs: readonly [];
1665
- readonly stateMutability: "nonpayable";
1645
+ readonly stateMutability: "pure";
1666
1646
  }, {
1667
1647
  readonly type: "function";
1668
1648
  readonly name: "setRouter";
@@ -1742,7 +1722,7 @@ export declare const CASHIE_IDENTITY_SOUL_CONTRACT_ABI: readonly [{
1742
1722
  readonly internalType: "uint256";
1743
1723
  }];
1744
1724
  readonly outputs: readonly [];
1745
- readonly stateMutability: "pure";
1725
+ readonly stateMutability: "nonpayable";
1746
1726
  }, {
1747
1727
  readonly type: "function";
1748
1728
  readonly name: "transferOwnership";
@@ -74,6 +74,7 @@ export declare const erc20TokenPaymentPermissionSchema: z.ZodObject<{
74
74
  annually: "annually";
75
75
  }>;
76
76
  }, z.core.$strict>], "type">;
77
+ salt: z.ZodCustom<`0x${string}`, `0x${string}`>;
77
78
  }, z.core.$strict>;
78
79
  }, z.core.$strict>;
79
80
  export declare const permissionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -99,6 +100,7 @@ export declare const permissionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
99
100
  annually: "annually";
100
101
  }>;
101
102
  }, z.core.$strict>], "type">;
103
+ salt: z.ZodCustom<`0x${string}`, `0x${string}`>;
102
104
  }, z.core.$strict>;
103
105
  }, z.core.$strict>], "type">;
104
106
  export declare const permissionSchemas: {
@@ -125,6 +127,7 @@ export declare const permissionSchemas: {
125
127
  annually: "annually";
126
128
  }>;
127
129
  }, z.core.$strict>], "type">;
130
+ salt: z.ZodCustom<`0x${string}`, `0x${string}`>;
128
131
  }, z.core.$strict>;
129
132
  }, z.core.$strict>;
130
133
  };
@@ -31,6 +31,7 @@ export declare const permissionRequestSchema: z.ZodObject<{
31
31
  annually: "annually";
32
32
  }>;
33
33
  }, z.core.$strict>], "type">;
34
+ salt: z.ZodCustom<`0x${string}`, `0x${string}`>;
34
35
  }, z.core.$strict>;
35
36
  }, z.core.$strict>], "type">;
36
37
  rules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -76,6 +77,7 @@ export declare const permissionsRequestSchema: z.ZodArray<z.ZodObject<{
76
77
  annually: "annually";
77
78
  }>;
78
79
  }, z.core.$strict>], "type">;
80
+ salt: z.ZodCustom<`0x${string}`, `0x${string}`>;
79
81
  }, z.core.$strict>;
80
82
  }, z.core.$strict>], "type">;
81
83
  rules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -120,6 +122,7 @@ export declare const permissionResponseSchema: z.ZodObject<{
120
122
  annually: "annually";
121
123
  }>;
122
124
  }, z.core.$strict>], "type">;
125
+ salt: z.ZodCustom<`0x${string}`, `0x${string}`>;
123
126
  }, z.core.$strict>;
124
127
  }, z.core.$strict>], "type">;
125
128
  rules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -171,6 +174,7 @@ export declare const permissionsResponseSchema: z.ZodArray<z.ZodObject<{
171
174
  annually: "annually";
172
175
  }>;
173
176
  }, z.core.$strict>], "type">;
177
+ salt: z.ZodCustom<`0x${string}`, `0x${string}`>;
174
178
  }, z.core.$strict>;
175
179
  }, z.core.$strict>], "type">;
176
180
  rules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{