@cubist-labs/cubesigner-sdk 0.4.254 → 0.4.259

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.
@@ -46,11 +46,31 @@ const AllOperationKinds: Record<OperationKind, true> = {
46
46
  BabylonCovSign: true,
47
47
  BabylonRegistration: true,
48
48
  BabylonStaking: true,
49
- BinanceSign: true,
49
+ BinanceSubToMaster: true,
50
+ BinanceSubToSub: true,
51
+ BinanceUniversalTransfer: true,
52
+ BinanceSubAccountAssets: true,
53
+ BinanceAccountInfo: true,
54
+ BinanceSubAccountTransferHistory: true,
55
+ BinanceUniversalTransferHistory: true,
56
+ BinanceWithdraw: true,
57
+ BinanceWithdrawHistory: true,
58
+ BinanceDeposit: true,
59
+ BinanceListSubAccounts: true,
60
+ BinanceCoinInfo: true,
50
61
  BlobSign: true,
51
62
  BtcMessageSign: true,
52
63
  BtcSign: true,
53
- CoinbaseSign: true,
64
+ BybitQueryUser: true,
65
+ BybitQuerySubMembers: true,
66
+ BybitQueryCoinsBalance: true,
67
+ BybitQueryDepositAddress: true,
68
+ BybitUniversalTransfer: true,
69
+ BybitWithdraw: true,
70
+ BybitWithdrawals: true,
71
+ CoinbaseListAccounts: true,
72
+ CoinbaseListPortfolios: true,
73
+ CoinbaseMoveFunds: true,
54
74
  DiffieHellman: true,
55
75
  PsbtSign: true,
56
76
  TaprootSign: true,
@@ -217,12 +237,14 @@ export type MfaProtectedAction = schemas["MfaProtectedAction"];
217
237
  export type MfaRequired = schemas["MfaRequiredArgs"];
218
238
  export type SignDryRun = schemas["SignDryRunArgs"];
219
239
  export type BinanceDryRun = schemas["BinanceDryRunArgs"];
240
+ export type BybitDryRun = schemas["BybitDryRunArgs"];
220
241
  export type CoinbaseDryRun = schemas["CoinbaseDryRunArgs"];
221
242
  export type EvmTxCmp = schemas["EvmTxCmp"];
222
243
  export type SolanaTxCmp = schemas["SolanaTxCmp"];
223
244
 
224
245
  export type BinanceApiProperties = schemas["BinanceApiPropertiesPatch"];
225
246
  export type CoinbaseApiProperties = schemas["CoinbaseApiPropertiesPatch"];
247
+ export type KeyPropertiesPatch = schemas["KeyPropertiesPatch"];
226
248
 
227
249
  export type CreateOrgRequest = schemas["CreateOrgRequest"];
228
250
  export type OrgMetricName = schemas["MetricName"];
@@ -300,6 +322,11 @@ export type AvaChain = "C" | "X" | "P";
300
322
  /** Key import */
301
323
  export type CreateKeyImportKeyResponse = schemas["CreateKeyImportKeyResponse"];
302
324
  export type ImportKeyRequest = schemas["ImportKeyRequest"];
325
+
326
+ /** Policy import key */
327
+ export type CreatePolicyImportKeyResponse = schemas["CreatePolicyImportKeyResponse"];
328
+ export type KeyImportKey = schemas["KeyImportKey"];
329
+ export type SecretValue = schemas["SecretValue"];
303
330
  export type ImportKeyRequestMaterial = schemas["ImportKeyRequestMaterial"];
304
331
 
305
332
  export type InvitationAcceptRequest = schemas["InvitationAcceptRequest"];
@@ -347,3 +374,4 @@ export type PolicyAction = schemas["PolicyAction"];
347
374
  export type SecretAction = schemas["SecretAction"];
348
375
  export type PolicySecretsInfo = schemas["PolicySecretsInfo"];
349
376
  export type SetPolicySecretRequest = schemas["SetPolicySecretRequest"];
377
+ export type UpdatePolicySecretsRequest = schemas["UpdatePolicySecretsRequest"];
package/src/scopes.ts CHANGED
@@ -54,6 +54,14 @@ export const AllScopes: Record<ExplicitScope, string> =
54
54
  "sign:babylon:staking:slash" : "Allows access to the signing endpoint for Babylon slashing pre-signatures",
55
55
  "sign:babylon:registration" : "Allows access to the signing endpoint for Babylon registration",
56
56
  "sign:babylon:covenant" : "Allows access to the signing endpoint for Babylon covenant signing",
57
+ "sign:bybit:*" : "Allows access to the typed sign 'bybit' endpoint (signs Bybit RPC requests).",
58
+ "sign:bybit:queryUser" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'QueryUser' operation.",
59
+ "sign:bybit:querySubMembers" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'QuerySubMembers' operation.",
60
+ "sign:bybit:queryCoinsBalance" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'QueryCoinsBalance' operation.",
61
+ "sign:bybit:queryDepositAddress" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'QueryDepositAddress' operation.",
62
+ "sign:bybit:universalTransfer" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'UniversalTransfer' operation.",
63
+ "sign:bybit:withdraw" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'Withdraw' operation.",
64
+ "sign:bybit:withdrawals" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'Withdrawals' operation.",
57
65
  "sign:coinbase:*" : "Allows access to the typed sign 'coinbase' endpoint (signs Coinbase RPC requests).",
58
66
  "sign:coinbase:accounts:list" : "Allows access to the typed sign 'coinbase' endpoint, but only for the 'ListAccounts' operation.",
59
67
  "sign:coinbase:portfolios:list" : "Allows access to the typed sign 'coinbase' endpoint, but only for the 'ListPortfolios' operation.",
@@ -266,6 +274,7 @@ export const AllScopes: Record<ExplicitScope, string> =
266
274
  "rpc:listTransactions" : "Allows access to the RPC API endpoint, but only for the 'cs_listTransactions' function.",
267
275
  "rpc:retryTransaction" : "Allows access to the RPC API endpoint, but only for the 'cs_retryTransaction' function",
268
276
  "rpc:binance" : "Allows access to the RPC API endpoint, but only for the 'cs_binance*' functions",
277
+ "rpc:bybit" : "Allows access to the RPC API endpoint, but only for the Bybit methods",
269
278
  "rpc:coinbase" : "Allows access to the RPC API endpoint, but only for the 'cs_coinbase*' functions",
270
279
  };
271
280