@stripe/link-sdk 0.6.0 → 0.7.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/client.d.ts +3 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +477 -124
- package/dist/index.js.map +1 -1
- package/dist/resources/__tests__/credentials.test.d.ts +2 -0
- package/dist/resources/__tests__/credentials.test.d.ts.map +1 -0
- package/dist/resources/__tests__/holder-jwk.test.d.ts +2 -0
- package/dist/resources/__tests__/holder-jwk.test.d.ts.map +1 -0
- package/dist/resources/__tests__/ucp.test.d.ts +2 -0
- package/dist/resources/__tests__/ucp.test.d.ts.map +1 -0
- package/dist/resources/base.d.ts +1 -0
- package/dist/resources/base.d.ts.map +1 -1
- package/dist/resources/holder-jwk.d.ts +11 -0
- package/dist/resources/holder-jwk.d.ts.map +1 -0
- package/dist/resources/identity-credentials.d.ts +9 -0
- package/dist/resources/identity-credentials.d.ts.map +1 -0
- package/dist/resources/interfaces.d.ts +67 -1
- package/dist/resources/interfaces.d.ts.map +1 -1
- package/dist/resources/ucp.d.ts +25 -0
- package/dist/resources/ucp.d.ts.map +1 -0
- package/dist/resources/user-info.d.ts.map +1 -1
- package/dist/types/index.d.ts +104 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { LinkOptions } from '@/config';
|
|
2
|
-
import type { IAttestationsResource, IBalancesResource, IPaymentMethodsResource, IReportResource, IShippingAddressResource, ISourcesResource, ISpendRequestResource, ISummariesResource, ITransactionsResource, IUserInfoResource, IWebBotAuthResource } from '@/resources/interfaces';
|
|
2
|
+
import type { IAttestationsResource, IBalancesResource, IIdentityCredentialsResource, IPaymentMethodsResource, IReportResource, IShippingAddressResource, ISourcesResource, ISpendRequestResource, ISummariesResource, ITransactionsResource, IUcpResource, IUserInfoResource, IWebBotAuthResource } from '@/resources/interfaces';
|
|
3
3
|
export declare class Link {
|
|
4
4
|
readonly attestations: IAttestationsResource;
|
|
5
|
+
readonly identityCredentials: IIdentityCredentialsResource;
|
|
5
6
|
readonly spendRequests: ISpendRequestResource;
|
|
6
7
|
readonly paymentMethods: IPaymentMethodsResource;
|
|
7
8
|
readonly shippingAddresses: IShippingAddressResource;
|
|
@@ -12,6 +13,7 @@ export declare class Link {
|
|
|
12
13
|
readonly summaries: ISummariesResource;
|
|
13
14
|
readonly webBotAuth: IWebBotAuthResource;
|
|
14
15
|
readonly reports: IReportResource;
|
|
16
|
+
readonly ucp: IUcpResource;
|
|
15
17
|
constructor(options: LinkOptions);
|
|
16
18
|
}
|
|
17
19
|
export default Link;
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EACjB,4BAA4B,EAC5B,uBAAuB,EACvB,eAAe,EACf,wBAAwB,EACxB,gBAAgB,EAChB,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAYhC,qBAAa,IAAI;IACf,QAAQ,CAAC,YAAY,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,CAAC,mBAAmB,EAAE,4BAA4B,CAAC;IAC3D,QAAQ,CAAC,aAAa,EAAE,qBAAqB,CAAC;IAC9C,QAAQ,CAAC,cAAc,EAAE,uBAAuB,CAAC;IACjD,QAAQ,CAAC,iBAAiB,EAAE,wBAAwB,CAAC;IACrD,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,YAAY,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;IACnC,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAC;IAClC,QAAQ,CAAC,GAAG,EAAE,YAAY,CAAC;IAE3B,YAAY,OAAO,EAAE,WAAW,EAc/B;CACF;eAEc,IAAI"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { default, Link } from './client';
|
|
|
2
2
|
export type { LinkOptions, LinkSdkLogger } from './config';
|
|
3
3
|
export { LinkApiError, LinkConfigurationError, LinkResponseError, LinkSdkError, LinkTransportError, } from './errors';
|
|
4
4
|
export * from './resources/attestations';
|
|
5
|
+
export { holderJwksEqual, holderJwkThumbprint, parseHolderPublicJwk, } from './resources/holder-jwk';
|
|
5
6
|
export * from './resources/interfaces';
|
|
6
7
|
export { getDuplicateSpendRequest } from './resources/spend-request';
|
|
7
8
|
export * from './resources/summaries';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACzC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAClB,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACzC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAClB,cAAc,0BAA0B,CAAC;AACzC,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC"}
|