cooptypes 0.5.4 → 0.5.7

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/index.cjs CHANGED
@@ -149,22 +149,22 @@ const index$y = {
149
149
  newId: newId
150
150
  };
151
151
 
152
- const tableName$F = "drafts";
153
- const scope$F = _contract;
152
+ const tableName$E = "drafts";
153
+ const scope$E = _contract;
154
154
 
155
155
  const drafts = {
156
156
  __proto__: null,
157
- scope: scope$F,
158
- tableName: tableName$F
157
+ scope: scope$E,
158
+ tableName: tableName$E
159
159
  };
160
160
 
161
- const tableName$E = "translations";
162
- const scope$E = _contract;
161
+ const tableName$D = "translations";
162
+ const scope$D = _contract;
163
163
 
164
164
  const translations = {
165
165
  __proto__: null,
166
- scope: scope$E,
167
- tableName: tableName$E
166
+ scope: scope$D,
167
+ tableName: tableName$D
168
168
  };
169
169
 
170
170
  const index$x = {
@@ -345,42 +345,42 @@ const index$v = {
345
345
  SubCirculation: subCirculation
346
346
  };
347
347
 
348
- const tableName$D = "accfunds";
349
- const scope$D = _fund;
350
-
351
- const accumulationFunds = {
352
- __proto__: null,
353
- scope: scope$D,
354
- tableName: tableName$D
355
- };
356
-
357
- const tableName$C = "expfunds";
348
+ const tableName$C = "accfunds";
358
349
  const scope$C = _fund;
359
350
 
360
- const expenseFunds = {
351
+ const accumulationFunds = {
361
352
  __proto__: null,
362
353
  scope: scope$C,
363
354
  tableName: tableName$C
364
355
  };
365
356
 
366
- const tableName$B = "fundwallet";
357
+ const tableName$B = "expfunds";
367
358
  const scope$B = _fund;
368
359
 
369
- const fundWallet = {
360
+ const expenseFunds = {
370
361
  __proto__: null,
371
362
  scope: scope$B,
372
363
  tableName: tableName$B
373
364
  };
374
365
 
375
- const tableName$A = "fwithdraws";
366
+ const tableName$A = "fundwallet";
376
367
  const scope$A = _fund;
377
368
 
378
- const fundWithdraws = {
369
+ const fundWallet = {
379
370
  __proto__: null,
380
371
  scope: scope$A,
381
372
  tableName: tableName$A
382
373
  };
383
374
 
375
+ const tableName$z = "fwithdraws";
376
+ const scope$z = _fund;
377
+
378
+ const fundWithdraws = {
379
+ __proto__: null,
380
+ scope: scope$z,
381
+ tableName: tableName$z
382
+ };
383
+
384
384
  const index$u = {
385
385
  __proto__: null,
386
386
  AccumulatedFunds: accumulationFunds,
@@ -487,22 +487,22 @@ const index$s = {
487
487
  NewWithdrawId: newWithdrawId
488
488
  };
489
489
 
490
- const tableName$z = "deposits";
491
- const scope$z = _gateway;
490
+ const tableName$y = "deposits";
491
+ const scope$y = _gateway;
492
492
 
493
493
  const deposits = {
494
494
  __proto__: null,
495
- scope: scope$z,
496
- tableName: tableName$z
495
+ scope: scope$y,
496
+ tableName: tableName$y
497
497
  };
498
498
 
499
- const tableName$y = "withdraws";
500
- const scope$y = _gateway;
499
+ const tableName$x = "withdraws";
500
+ const scope$x = _gateway;
501
501
 
502
502
  const withdraws = {
503
503
  __proto__: null,
504
- scope: scope$y,
505
- tableName: tableName$y
504
+ scope: scope$x,
505
+ tableName: tableName$x
506
506
  };
507
507
 
508
508
  const index$r = {
@@ -599,28 +599,19 @@ const index$p = {
599
599
  VerificateAccount: verificateAccount
600
600
  };
601
601
 
602
- const tableName$x = "accounts";
603
- const scope$x = _registrator;
604
-
605
- const accounts = {
606
- __proto__: null,
607
- scope: scope$x,
608
- tableName: tableName$x
609
- };
610
-
611
- const tableName$w = "orgs";
602
+ const tableName$w = "accounts";
612
603
  const scope$w = _registrator;
613
604
 
614
- const organizations = {
605
+ const accounts = {
615
606
  __proto__: null,
616
607
  scope: scope$w,
617
608
  tableName: tableName$w
618
609
  };
619
610
 
620
- const tableName$v = "users";
621
- const scope$v = _coopname;
611
+ const tableName$v = "orgs";
612
+ const scope$v = _registrator;
622
613
 
623
- const users = {
614
+ const organizations = {
624
615
  __proto__: null,
625
616
  scope: scope$v,
626
617
  tableName: tableName$v
@@ -629,8 +620,7 @@ const users = {
629
620
  const index$o = {
630
621
  __proto__: null,
631
622
  Accounts: accounts,
632
- Organizations: organizations,
633
- Users: users
623
+ Organizations: organizations
634
624
  };
635
625
 
636
626
  const registrator = {
@@ -796,11 +786,11 @@ const decision = {
796
786
 
797
787
  const index$j = {
798
788
  __proto__: null,
799
- act: act,
800
- batch: batch,
801
- decision: decision,
802
- draft: draft,
803
- statement: statement
789
+ Act: act,
790
+ Batch: batch,
791
+ Decision: decision,
792
+ Draft: draft,
793
+ Statement: statement
804
794
  };
805
795
 
806
796
  const authorizations$1p = [{ permissions: [active], actor: _chairman }];
@@ -832,9 +822,9 @@ const editAddress = {
832
822
 
833
823
  const index$i = {
834
824
  __proto__: null,
835
- createAddress: createAddress,
836
- deleteAddress: deleteAddress,
837
- editAddress: editAddress
825
+ CreateAddress: createAddress,
826
+ DeleteAddress: deleteAddress,
827
+ EditAddress: editAddress
838
828
  };
839
829
 
840
830
  const authorizations$1m = [
@@ -915,12 +905,12 @@ const subProgramBalance = {
915
905
 
916
906
  const index$h = {
917
907
  __proto__: null,
918
- addBalance: addBalance,
919
- addProgramBalance: addProgramBalance,
920
- blockBalance: blockBalance,
921
- subBalance: subBalance,
922
- subProgramBalance: subProgramBalance,
923
- unblockBalance: unblockBalance
908
+ AddBalance: addBalance,
909
+ AddProgramBalance: addProgramBalance,
910
+ BlockBalance: blockBalance,
911
+ SubBalance: subBalance,
912
+ SubProgramBalance: subProgramBalance,
913
+ UnblockBalance: unblockBalance
924
914
  };
925
915
 
926
916
  const authorizations$1g = [
@@ -1108,19 +1098,19 @@ const disautomate = {
1108
1098
 
1109
1099
  const index$f = {
1110
1100
  __proto__: null,
1111
- authorize: authorize$1,
1112
- automate: automate,
1113
- cancelVote: cancelVote,
1114
- disautomate: disautomate,
1115
- exec: exec$1,
1116
- fundWithdrawDecision: fundWithdrawDecision,
1117
- joinCoopDecision: joinCoopDecision,
1118
- marketDecision: marketDecision,
1119
- productRecieved: productRecieved,
1120
- validate: validate,
1121
- voteAgainst: voteAgainst,
1122
- voteFor: voteFor,
1123
- withdrawDecision: withdrawDecision
1101
+ Authorize: authorize$1,
1102
+ Automate: automate,
1103
+ CancelVote: cancelVote,
1104
+ Disautomate: disautomate,
1105
+ Exec: exec$1,
1106
+ FundWithdrawDecision: fundWithdrawDecision,
1107
+ JoinCoopDecision: joinCoopDecision,
1108
+ MarketDecision: marketDecision,
1109
+ ProductRecieved: productRecieved,
1110
+ Validate: validate,
1111
+ VoteAgainst: voteAgainst,
1112
+ VoteFor: voteFor,
1113
+ WithdrawDecision: withdrawDecision
1124
1114
  };
1125
1115
 
1126
1116
  const authorizations$10 = [{ permissions: [active], actor: _chairman }];
@@ -1468,25 +1458,25 @@ const updateRequest = {
1468
1458
 
1469
1459
  const index$a = {
1470
1460
  __proto__: null,
1471
- acceptRequest: acceptRequest,
1472
- authorize: authorize,
1473
- cancelRequest: cancelRequest,
1474
- completeRequest: completeRequest,
1475
- confirmRecieve: confirmRecieve,
1476
- confirmSupply: confirmSupply,
1477
- createOffer: createOffer,
1478
- createOrder: createOrder,
1479
- declineRequest: declineRequest,
1480
- deliverOnRequest: deliverOnRequest,
1481
- moderateRequest: moderateRequest,
1482
- newRequestId: newRequestId,
1483
- openDispute: openDispute,
1484
- prohibitRequest: prohibitRequest,
1485
- publishRequest: publishRequest,
1486
- recieveOnRequest: recieveOnRequest,
1487
- supplyOnRequest: supplyOnRequest,
1488
- unpublishRequest: unpublishRequest,
1489
- updateRequests: updateRequest
1461
+ AcceptRequest: acceptRequest,
1462
+ Authorize: authorize,
1463
+ CancelRequest: cancelRequest,
1464
+ CompleteRequest: completeRequest,
1465
+ ConfirmRecieve: confirmRecieve,
1466
+ ConfirmSupply: confirmSupply,
1467
+ CreateOffer: createOffer,
1468
+ CreateOrder: createOrder,
1469
+ DeclineRequest: declineRequest,
1470
+ DeliverOnRequest: deliverOnRequest,
1471
+ ModerateRequest: moderateRequest,
1472
+ NewRequestId: newRequestId,
1473
+ OpenDispute: openDispute,
1474
+ ProhibitRequest: prohibitRequest,
1475
+ PublishRequest: publishRequest,
1476
+ RecieveOnRequest: recieveOnRequest,
1477
+ SupplyOnRequest: supplyOnRequest,
1478
+ UnpublishRequest: unpublishRequest,
1479
+ UpdateRequests: updateRequest
1490
1480
  };
1491
1481
 
1492
1482
  const tableName$g = "exchange";
@@ -1573,12 +1563,12 @@ const invalidateAccount = {
1573
1563
 
1574
1564
  const index$7 = {
1575
1565
  __proto__: null,
1576
- approveProposal: approveProposal,
1577
- cancelProposal: cancelProposal,
1578
- execProposal: execProposal,
1579
- invalidateProposal: invalidateAccount,
1580
- proposeTransaction: proposeTransaction,
1581
- unapproveProposal: unapproveProposal
1566
+ ApproveProposal: approveProposal,
1567
+ CancelProposal: cancelProposal,
1568
+ ExecProposal: execProposal,
1569
+ InvalidateProposal: invalidateAccount,
1570
+ ProposeTransaction: proposeTransaction,
1571
+ UnapproveProposal: unapproveProposal
1582
1572
  };
1583
1573
 
1584
1574
  const tableName$f = "approvals";
@@ -2004,43 +1994,43 @@ const cancelDelay = {
2004
1994
 
2005
1995
  const index$2 = {
2006
1996
  __proto__: null,
2007
- activateFeature: activateFeature,
2008
- bidName: bidName,
2009
- bidNameRefund: bidNameRefund,
2010
- buyRAM: buyRAM,
2011
- buyRAMBytes: buyRAMBytes,
2012
- cancelDelay: cancelDelay,
2013
- claimRewards: claimRewards,
2014
- delegateBW: delegateBW,
2015
- deleteAuth: deleteAuth,
2016
- execPowerup: execPowerup,
2017
- init: init,
2018
- initEmission: initEmission,
2019
- initPowerup: initPowerup,
2020
- linkAuth: linkAuth,
2021
- newAccount: newAccount,
2022
- powerup: powerup,
2023
- refund: refund,
2024
- registerProducer: registerProducer,
2025
- registerProducer2: registerProducer2,
2026
- registerProxy: registerProxy,
2027
- removeProducer: removeProducer,
2028
- setAbi: setAbi,
2029
- setAccountLimits: setAccountLimits,
2030
- setCPULimits: setCPULimits,
2031
- setCode: setCode,
2032
- setNETLimits: setNETLimits,
2033
- setParams: setParams,
2034
- setPrivileged: setPrivileged,
2035
- setRAMLimits: setRAMLimits,
2036
- setTotalRAM: setTotalRAM,
2037
- setTotalRAMRate: setTotalRAMRate,
2038
- undelegateBW: undelegateBW,
2039
- unregisterProducer: unregisterProducer,
2040
- updateAuth: updateAuth,
2041
- updateRevision: updateRevision,
2042
- voteForProducer: voteForProducer,
2043
- voteUpdate: voteUpdate
1997
+ ActivateFeature: activateFeature,
1998
+ BidName: bidName,
1999
+ BidNameRefund: bidNameRefund,
2000
+ BuyRAM: buyRAM,
2001
+ BuyRAMBytes: buyRAMBytes,
2002
+ CancelDelay: cancelDelay,
2003
+ ClaimRewards: claimRewards,
2004
+ DelegateBW: delegateBW,
2005
+ DeleteAuth: deleteAuth,
2006
+ ExecPowerup: execPowerup,
2007
+ Init: init,
2008
+ InitEmission: initEmission,
2009
+ InitPowerup: initPowerup,
2010
+ LinkAuth: linkAuth,
2011
+ NewAccount: newAccount,
2012
+ Powerup: powerup,
2013
+ Refund: refund,
2014
+ RegisterProducer: registerProducer,
2015
+ RegisterProducer2: registerProducer2,
2016
+ RegisterProxy: registerProxy,
2017
+ RemoveProducer: removeProducer,
2018
+ SetAbi: setAbi,
2019
+ SetAccountLimits: setAccountLimits,
2020
+ SetCPULimits: setCPULimits,
2021
+ SetCode: setCode,
2022
+ SetNETLimits: setNETLimits,
2023
+ SetParams: setParams,
2024
+ SetPrivileged: setPrivileged,
2025
+ SetRAMLimits: setRAMLimits,
2026
+ SetTotalRAM: setTotalRAM,
2027
+ SetTotalRAMRate: setTotalRAMRate,
2028
+ UndelegateBW: undelegateBW,
2029
+ UnregisterProducer: unregisterProducer,
2030
+ UpdateAuth: updateAuth,
2031
+ UpdateRevision: updateRevision,
2032
+ VoteForProducer: voteForProducer,
2033
+ VoteUpdate: voteUpdate
2044
2034
  };
2045
2035
 
2046
2036
  const tableName$b = "bidrefunds";