@bitgo/public-types 3.1.0 → 3.3.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.
@@ -17,7 +17,9 @@ export declare enum WebhookTypeEnum {
|
|
17
17
|
"userKycState" = "userKycState",
|
18
18
|
"enterpriseKycState" = "enterpriseKycState",
|
19
19
|
"identityStatus" = "identityStatus",
|
20
|
-
"accessToken" = "accessToken"
|
20
|
+
"accessToken" = "accessToken",
|
21
|
+
"policyBalanceChange" = "policyBalanceChange",
|
22
|
+
"transaction_finality_on_l1" = "transaction_finality_on_l1"
|
21
23
|
}
|
22
24
|
export declare const WebhookType: t.KeyofC<typeof WebhookTypeEnum>;
|
23
25
|
export type WebhookType = t.TypeOf<typeof WebhookType>;
|
@@ -33,7 +35,8 @@ export declare enum WalletWebhookTypeEnum {
|
|
33
35
|
"admin" = "admin",
|
34
36
|
"address_confirmation" = "address_confirmation",
|
35
37
|
"lowFee" = "lowFee",
|
36
|
-
"circuitBreaker" = "circuitBreaker"
|
38
|
+
"circuitBreaker" = "circuitBreaker",
|
39
|
+
"transaction_finality_on_l1" = "transaction_finality_on_l1"
|
37
40
|
}
|
38
41
|
export declare const WalletWebhookType: t.KeyofC<typeof WalletWebhookTypeEnum>;
|
39
42
|
export type WalletWebhookType = t.TypeOf<typeof WalletWebhookType>;
|
@@ -45,6 +45,8 @@ var WebhookTypeEnum;
|
|
45
45
|
WebhookTypeEnum["enterpriseKycState"] = "enterpriseKycState";
|
46
46
|
WebhookTypeEnum["identityStatus"] = "identityStatus";
|
47
47
|
WebhookTypeEnum["accessToken"] = "accessToken";
|
48
|
+
WebhookTypeEnum["policyBalanceChange"] = "policyBalanceChange";
|
49
|
+
WebhookTypeEnum["transaction_finality_on_l1"] = "transaction_finality_on_l1";
|
48
50
|
})(WebhookTypeEnum || (exports.WebhookTypeEnum = WebhookTypeEnum = {}));
|
49
51
|
exports.WebhookType = t.keyof(WebhookTypeEnum, "WebhookType");
|
50
52
|
var WalletWebhookTypeEnum;
|
@@ -61,6 +63,7 @@ var WalletWebhookTypeEnum;
|
|
61
63
|
WalletWebhookTypeEnum["address_confirmation"] = "address_confirmation";
|
62
64
|
WalletWebhookTypeEnum["lowFee"] = "lowFee";
|
63
65
|
WalletWebhookTypeEnum["circuitBreaker"] = "circuitBreaker";
|
66
|
+
WalletWebhookTypeEnum["transaction_finality_on_l1"] = "transaction_finality_on_l1";
|
64
67
|
})(WalletWebhookTypeEnum || (exports.WalletWebhookTypeEnum = WalletWebhookTypeEnum = {}));
|
65
68
|
exports.WalletWebhookType = t.keyof(WalletWebhookTypeEnum, "WalletWebhookType");
|
66
69
|
var EnterpriseWebhookTypeEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"webhookType.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,
|
1
|
+
{"version":3,"file":"webhookType.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,eA6BX;AA7BD,WAAY,eAAe;IAEzB,0CAAyB,CAAA;IAEzB,gEAA+C,CAAA;IAC/C,wCAAuB,CAAA;IACvB,8CAA6B,CAAA;IAC7B,4DAA2C,CAAA;IAC3C,0DAAyC,CAAA;IACzC,sDAAqC,CAAA;IACrC,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,gEAA+C,CAAA;IAC/C,oCAAmB,CAAA;IACnB,oDAAmC,CAAA;IAGnC,8DAA6C,CAAA;IAE7C,8CAA6B,CAAA;IAC7B,gDAA+B,CAAA;IAC/B,4DAA2C,CAAA;IAC3C,oDAAmC,CAAA;IAEnC,8CAA6B,CAAA;IAE7B,8DAA6C,CAAA;IAE7C,4EAA2D,CAAA;AAC7D,CAAC,EA7BW,eAAe,+BAAf,eAAe,QA6B1B;AAEY,QAAA,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;AAGnE,IAAY,qBAcX;AAdD,WAAY,qBAAqB;IAC/B,gDAAyB,CAAA;IACzB,sEAA+C,CAAA;IAC/C,8CAAuB,CAAA;IACvB,oDAA6B,CAAA;IAC7B,kEAA2C,CAAA;IAC3C,gEAAyC,CAAA;IACzC,4DAAqC,CAAA;IACrC,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,sEAA+C,CAAA;IAC/C,0CAAmB,CAAA;IACnB,0DAAmC,CAAA;IACnC,kFAA2D,CAAA;AAC7D,CAAC,EAdW,qBAAqB,qCAArB,qBAAqB,QAchC;AAEY,QAAA,iBAAiB,GAAG,CAAC,CAAC,KAAK,CACtC,qBAAqB,EACrB,mBAAmB,CACpB,CAAC;AAGF,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,wDAA6B,CAAA;IAC7B,wDAA6B,CAAA;AAC/B,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC;AACY,QAAA,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAC1C,yBAAyB,EACzB,uBAAuB,CACxB,CAAC"}
|
package/package.json
CHANGED
@@ -25,6 +25,10 @@ export enum WebhookTypeEnum {
|
|
25
25
|
"identityStatus" = "identityStatus",
|
26
26
|
|
27
27
|
"accessToken" = "accessToken",
|
28
|
+
|
29
|
+
"policyBalanceChange" = "policyBalanceChange",
|
30
|
+
// Webhook for l2 transaction finality on l1
|
31
|
+
"transaction_finality_on_l1" = "transaction_finality_on_l1",
|
28
32
|
}
|
29
33
|
|
30
34
|
export const WebhookType = t.keyof(WebhookTypeEnum, "WebhookType");
|
@@ -43,6 +47,7 @@ export enum WalletWebhookTypeEnum {
|
|
43
47
|
"address_confirmation" = "address_confirmation",
|
44
48
|
"lowFee" = "lowFee",
|
45
49
|
"circuitBreaker" = "circuitBreaker",
|
50
|
+
"transaction_finality_on_l1" = "transaction_finality_on_l1",
|
46
51
|
}
|
47
52
|
|
48
53
|
export const WalletWebhookType = t.keyof(
|