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