@bitgo/public-types 6.41.0 → 6.42.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.
- package/dist/src/schema/webhook/webhookNotification.d.ts +1 -1
- package/dist/src/schema/webhook/webhookNotification.js +1 -1
- package/dist/src/schema/webhook/webhookNotification.js.map +1 -1
- package/dist/src/schema/webhook/webhookScope.d.ts +1 -1
- package/dist/src/schema/webhook/webhookScope.js +1 -1
- package/dist/src/schema/webhook/webhookScope.js.map +1 -1
- package/package.json +1 -1
- package/src/schema/webhook/webhookNotification.ts +2 -2
- package/src/schema/webhook/webhookScope.ts +1 -1
|
@@ -6,7 +6,7 @@ export declare const WebhookNotification: t.IntersectionC<[t.TypeC<{
|
|
|
6
6
|
}>, t.PartialC<{
|
|
7
7
|
type: t.KeyofC<typeof import("./webhookType").WebhookTypeEnum>;
|
|
8
8
|
wallet: t.StringC;
|
|
9
|
-
|
|
9
|
+
safeId: t.StringC;
|
|
10
10
|
url: t.StringC;
|
|
11
11
|
hash: t.StringC;
|
|
12
12
|
coin: t.StringC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookNotification.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAAgD;AAChD,+CAA4C;AAE/B,QAAA,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC9C,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACxB,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAChB,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IACpB,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IACtB,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;CACpB,CAAC,CAAC;AAMU,QAAA,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IAChD,CAAC,CAAC,IAAI,CAA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B,OAAO,EAAE,CAAC,CAAC,MAAM;QACjB,iBAAiB,EAAE,CAAC,CAAC,OAAO;QAC5B,eAAe,EAAE,CAAC,CAAC,MAAM;QACzB,OAAO,EAAE,CAAC,CAAC,MAAM;QACjB,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC;YAClB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;YACnC,IAAI,EAAE,CAAC,CAAC,MAAM;YACd,IAAI,EAAE,CAAC,CAAC,MAAM;YACd,KAAK,EAAE,CAAC,CAAC,MAAM;SAChB,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ export declare enum WebhookScopeEnum {
|
|
|
3
3
|
"wallet" = "wallet",
|
|
4
4
|
"enterprise" = "enterprise",
|
|
5
5
|
"organization" = "organization",
|
|
6
|
-
"
|
|
6
|
+
"safe" = "safe"
|
|
7
7
|
}
|
|
8
8
|
export declare const WebhookScope: t.KeyofC<typeof WebhookScopeEnum>;
|
|
9
9
|
export type WebhookScope = t.TypeOf<typeof WebhookScope>;
|
|
@@ -30,7 +30,7 @@ var WebhookScopeEnum;
|
|
|
30
30
|
WebhookScopeEnum["wallet"] = "wallet";
|
|
31
31
|
WebhookScopeEnum["enterprise"] = "enterprise";
|
|
32
32
|
WebhookScopeEnum["organization"] = "organization";
|
|
33
|
-
WebhookScopeEnum["
|
|
33
|
+
WebhookScopeEnum["safe"] = "safe";
|
|
34
34
|
})(WebhookScopeEnum || (exports.WebhookScopeEnum = WebhookScopeEnum = {}));
|
|
35
35
|
exports.WebhookScope = t.keyof(WebhookScopeEnum, "WebhookScope");
|
|
36
36
|
//# sourceMappingURL=webhookScope.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookScope.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookScope.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,qCAAmB,CAAA;IACnB,6CAA2B,CAAA;IAC3B,iDAA+B,CAAA;IAC/B,
|
|
1
|
+
{"version":3,"file":"webhookScope.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookScope.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,qCAAmB,CAAA;IACnB,6CAA2B,CAAA;IAC3B,iDAA+B,CAAA;IAC/B,iCAAe,CAAA;AACjB,CAAC,EALW,gBAAgB,gCAAhB,gBAAgB,QAK3B;AAEY,QAAA,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -32,9 +32,9 @@ export const WebhookNotification = t.intersection([
|
|
|
32
32
|
*/
|
|
33
33
|
wallet: t.string,
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Safe ID — populated only on safe-scoped webhook subscriptions.
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
safeId: t.string,
|
|
38
38
|
url: t.string,
|
|
39
39
|
hash: t.string,
|
|
40
40
|
/**
|