@cubist-labs/cubesigner-sdk 0.4.265 → 0.4.266
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/package.json +1 -1
- package/dist/src/audit_log.d.ts +2 -2
- package/dist/src/key.d.ts +5 -3
- package/dist/src/key.d.ts.map +1 -1
- package/dist/src/key.js +10 -4
- package/dist/src/org.d.ts.map +1 -1
- package/dist/src/schema.d.ts +2 -2
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +1 -1
- package/package.json +1 -1
- package/src/key.ts +8 -4
- package/src/schema.ts +3 -2
package/package.json
CHANGED
package/src/key.ts
CHANGED
|
@@ -117,9 +117,11 @@ export enum P256 {
|
|
|
117
117
|
export const Mnemonic = "Mnemonic" as const;
|
|
118
118
|
export type Mnemonic = typeof Mnemonic;
|
|
119
119
|
|
|
120
|
-
/** HmacSha256 key
|
|
121
|
-
export
|
|
122
|
-
|
|
120
|
+
/** HmacSha256 key types */
|
|
121
|
+
export enum HmacSha256 {
|
|
122
|
+
Generic = "HmacSha256",
|
|
123
|
+
Bybit = "HmacSha256Bybit",
|
|
124
|
+
}
|
|
123
125
|
|
|
124
126
|
/** Stark key type */
|
|
125
127
|
export const Stark = "Stark" as const;
|
|
@@ -851,7 +853,9 @@ export function fromSchemaKeyType(ty: SchemaKeyType): KeyType {
|
|
|
851
853
|
case "Stark":
|
|
852
854
|
return Stark;
|
|
853
855
|
case "HmacSha256":
|
|
854
|
-
return HmacSha256;
|
|
856
|
+
return HmacSha256.Generic;
|
|
857
|
+
case "HmacSha256Bybit":
|
|
858
|
+
return HmacSha256.Bybit;
|
|
855
859
|
case "Mnemonic":
|
|
856
860
|
return Mnemonic;
|
|
857
861
|
case "P256CosmosAddr":
|
package/src/schema.ts
CHANGED
|
@@ -4091,7 +4091,7 @@ export interface components {
|
|
|
4091
4091
|
};
|
|
4092
4092
|
/**
|
|
4093
4093
|
* @description Bybit-family RPC methods. Each variant authenticates as the
|
|
4094
|
-
* [`KeyType::
|
|
4094
|
+
* [`KeyType::HmacSha256Bybit`] key in its `params.key_id` (which must carry
|
|
4095
4095
|
* [`KeyProperties::BybitApi`]).
|
|
4096
4096
|
*/
|
|
4097
4097
|
BybitRpc:
|
|
@@ -7336,7 +7336,8 @@ export interface components {
|
|
|
7336
7336
|
| "SecpXrpAddr"
|
|
7337
7337
|
| "Ed25519XrpAddr"
|
|
7338
7338
|
| "BabyJubjub"
|
|
7339
|
-
| "HmacSha256"
|
|
7339
|
+
| "HmacSha256"
|
|
7340
|
+
| "HmacSha256Bybit";
|
|
7340
7341
|
KeyTypeAndDerivationPath: {
|
|
7341
7342
|
/**
|
|
7342
7343
|
* @description List of derivation paths for which to derive.
|