pkg-sdk-test 0.0.14 → 0.0.16

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.
Files changed (147) hide show
  1. package/README.md +295 -0
  2. package/dist/cjs/BaseClient.js +3 -3
  3. package/dist/cjs/Client.d.ts +4 -4
  4. package/dist/cjs/Client.js +3 -3
  5. package/dist/cjs/api/errors/BadRequestError.d.ts +3 -3
  6. package/dist/cjs/api/errors/BadRequestError.js +1 -1
  7. package/dist/cjs/api/errors/InternalServerError.d.ts +3 -3
  8. package/dist/cjs/api/errors/InternalServerError.js +1 -1
  9. package/dist/cjs/api/errors/NotFoundError.d.ts +3 -3
  10. package/dist/cjs/api/errors/NotFoundError.js +1 -1
  11. package/dist/cjs/api/errors/UnauthorizedError.d.ts +3 -3
  12. package/dist/cjs/api/errors/UnauthorizedError.js +1 -1
  13. package/dist/cjs/api/resources/index.d.ts +1 -0
  14. package/dist/cjs/api/resources/index.js +1 -0
  15. package/dist/cjs/api/resources/payments/client/Client.d.ts +38 -23
  16. package/dist/cjs/api/resources/payments/client/Client.js +89 -36
  17. package/dist/cjs/api/resources/payments/client/requests/CryptopayCreatePaymentRequest.d.ts +3 -3
  18. package/dist/cjs/api/resources/payments/client/requests/CryptopaySimulatePaymentRequest.d.ts +2 -2
  19. package/dist/cjs/api/resources/payments/client/requests/GetV1PaymentsRequest.d.ts +3 -2
  20. package/dist/cjs/api/resources/payments/client/requests/PostV1PaymentsPaymentIdActivateRequest.d.ts +10 -0
  21. package/dist/cjs/api/resources/payments/client/requests/PostV1PaymentsPaymentIdActivateRequest.js +3 -0
  22. package/dist/cjs/api/resources/payments/client/requests/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/payments/types/GetV1PaymentsPaymentIdResponse.d.ts +2 -2
  24. package/dist/cjs/api/resources/payments/types/GetV1PaymentsRequestOrder.d.ts +5 -0
  25. package/dist/cjs/api/resources/payments/types/GetV1PaymentsRequestOrder.js +8 -0
  26. package/dist/cjs/api/resources/payments/types/index.d.ts +1 -0
  27. package/dist/cjs/api/resources/payments/types/index.js +1 -0
  28. package/dist/cjs/api/resources/staticWallets/client/Client.d.ts +24 -23
  29. package/dist/cjs/api/resources/staticWallets/client/Client.js +59 -39
  30. package/dist/cjs/api/resources/staticWallets/client/requests/CryptopayCreateStaticWalletRequest.d.ts +2 -1
  31. package/dist/cjs/api/resources/staticWallets/client/requests/CryptopaySimulateStaticDepositRequest.d.ts +12 -2
  32. package/dist/cjs/api/resources/staticWallets/client/requests/CryptopaySimulateStaticDepositRequest.js +10 -0
  33. package/dist/cjs/api/resources/staticWallets/client/requests/CryptopayUpdateStaticWalletRequest.d.ts +2 -1
  34. package/dist/cjs/api/resources/staticWallets/client/requests/GetV1StaticWalletsRequest.d.ts +13 -0
  35. package/dist/cjs/api/resources/staticWallets/client/requests/GetV1StaticWalletsRequest.js +3 -0
  36. package/dist/cjs/api/resources/staticWallets/client/requests/GetV1StaticWalletsStaticWalletIdDepositsRequest.d.ts +7 -0
  37. package/dist/cjs/api/resources/staticWallets/client/requests/index.d.ts +2 -1
  38. package/dist/cjs/api/resources/staticWallets/client/requests/index.js +3 -0
  39. package/dist/cjs/api/resources/staticWallets/index.d.ts +1 -0
  40. package/dist/cjs/api/resources/staticWallets/index.js +1 -0
  41. package/dist/cjs/api/resources/staticWallets/types/GetV1StaticWalletsRequestOrder.d.ts +5 -0
  42. package/dist/cjs/api/resources/staticWallets/types/GetV1StaticWalletsRequestOrder.js +8 -0
  43. package/dist/cjs/api/resources/staticWallets/types/GetV1StaticWalletsStaticWalletIdDepositsRequestOrder.d.ts +5 -0
  44. package/dist/cjs/api/resources/staticWallets/types/GetV1StaticWalletsStaticWalletIdDepositsRequestOrder.js +8 -0
  45. package/dist/cjs/api/resources/staticWallets/types/index.d.ts +2 -0
  46. package/dist/cjs/api/resources/staticWallets/types/index.js +18 -0
  47. package/dist/cjs/api/types/CryptopayAssetId.d.ts +32 -0
  48. package/dist/cjs/api/types/CryptopayAssetId.js +35 -0
  49. package/dist/cjs/api/types/CryptopayListPaymentsResponse.d.ts +2 -2
  50. package/dist/cjs/api/types/CryptopayListStaticDepositsResponse.d.ts +2 -2
  51. package/dist/cjs/api/types/CryptopayListStaticWalletsResponse.d.ts +2 -2
  52. package/dist/cjs/api/types/CryptopayPaymentResponse.d.ts +6 -6
  53. package/dist/cjs/api/types/CryptopayPublicPaymentResponse.d.ts +5 -5
  54. package/dist/cjs/api/types/CryptopayRedirectConfigDto.d.ts +11 -1
  55. package/dist/cjs/api/types/CryptopayRedirectConfigDto.js +11 -0
  56. package/dist/cjs/api/types/CryptopayStaticDepositResponse.d.ts +13 -2
  57. package/dist/cjs/api/types/CryptopayStaticDepositResponse.js +11 -0
  58. package/dist/cjs/api/types/CryptopayStaticWalletResponse.d.ts +2 -1
  59. package/dist/cjs/api/types/index.d.ts +1 -0
  60. package/dist/cjs/api/types/index.js +1 -0
  61. package/dist/cjs/auth/HeaderAuthProvider.d.ts +1 -1
  62. package/dist/cjs/auth/HeaderAuthProvider.js +1 -1
  63. package/dist/cjs/errors/{SuwardApiError.d.ts → SuwardSDKError.d.ts} +1 -1
  64. package/dist/cjs/errors/{SuwardApiError.js → SuwardSDKError.js} +4 -4
  65. package/dist/{esm/errors/SuwardApiTimeoutError.d.mts → cjs/errors/SuwardSDKTimeoutError.d.ts} +1 -1
  66. package/dist/cjs/errors/{SuwardApiTimeoutError.js → SuwardSDKTimeoutError.js} +4 -4
  67. package/dist/cjs/errors/handleNonStatusCodeError.js +5 -5
  68. package/dist/cjs/errors/index.d.ts +2 -2
  69. package/dist/cjs/errors/index.js +5 -5
  70. package/dist/cjs/index.d.ts +3 -3
  71. package/dist/cjs/index.js +5 -5
  72. package/dist/cjs/version.d.ts +1 -1
  73. package/dist/cjs/version.js +1 -1
  74. package/dist/esm/BaseClient.mjs +3 -3
  75. package/dist/esm/Client.d.mts +4 -4
  76. package/dist/esm/Client.mjs +1 -1
  77. package/dist/esm/api/errors/BadRequestError.d.mts +3 -3
  78. package/dist/esm/api/errors/BadRequestError.mjs +1 -1
  79. package/dist/esm/api/errors/InternalServerError.d.mts +3 -3
  80. package/dist/esm/api/errors/InternalServerError.mjs +1 -1
  81. package/dist/esm/api/errors/NotFoundError.d.mts +3 -3
  82. package/dist/esm/api/errors/NotFoundError.mjs +1 -1
  83. package/dist/esm/api/errors/UnauthorizedError.d.mts +3 -3
  84. package/dist/esm/api/errors/UnauthorizedError.mjs +1 -1
  85. package/dist/esm/api/resources/index.d.mts +1 -0
  86. package/dist/esm/api/resources/index.mjs +1 -0
  87. package/dist/esm/api/resources/payments/client/Client.d.mts +38 -23
  88. package/dist/esm/api/resources/payments/client/Client.mjs +89 -36
  89. package/dist/esm/api/resources/payments/client/requests/CryptopayCreatePaymentRequest.d.mts +3 -3
  90. package/dist/esm/api/resources/payments/client/requests/CryptopaySimulatePaymentRequest.d.mts +2 -2
  91. package/dist/esm/api/resources/payments/client/requests/GetV1PaymentsRequest.d.mts +3 -2
  92. package/dist/esm/api/resources/payments/client/requests/PostV1PaymentsPaymentIdActivateRequest.d.mts +10 -0
  93. package/dist/esm/api/resources/payments/client/requests/PostV1PaymentsPaymentIdActivateRequest.mjs +2 -0
  94. package/dist/esm/api/resources/payments/client/requests/index.d.mts +1 -0
  95. package/dist/esm/api/resources/payments/types/GetV1PaymentsPaymentIdResponse.d.mts +2 -2
  96. package/dist/esm/api/resources/payments/types/GetV1PaymentsRequestOrder.d.mts +5 -0
  97. package/dist/esm/api/resources/payments/types/GetV1PaymentsRequestOrder.mjs +5 -0
  98. package/dist/esm/api/resources/payments/types/index.d.mts +1 -0
  99. package/dist/esm/api/resources/payments/types/index.mjs +1 -0
  100. package/dist/esm/api/resources/staticWallets/client/Client.d.mts +24 -23
  101. package/dist/esm/api/resources/staticWallets/client/Client.mjs +59 -39
  102. package/dist/esm/api/resources/staticWallets/client/requests/CryptopayCreateStaticWalletRequest.d.mts +2 -1
  103. package/dist/esm/api/resources/staticWallets/client/requests/CryptopaySimulateStaticDepositRequest.d.mts +12 -2
  104. package/dist/esm/api/resources/staticWallets/client/requests/CryptopaySimulateStaticDepositRequest.mjs +9 -1
  105. package/dist/esm/api/resources/staticWallets/client/requests/CryptopayUpdateStaticWalletRequest.d.mts +2 -1
  106. package/dist/esm/api/resources/staticWallets/client/requests/GetV1StaticWalletsRequest.d.mts +13 -0
  107. package/dist/esm/api/resources/staticWallets/client/requests/GetV1StaticWalletsRequest.mjs +2 -0
  108. package/dist/esm/api/resources/staticWallets/client/requests/GetV1StaticWalletsStaticWalletIdDepositsRequest.d.mts +7 -0
  109. package/dist/esm/api/resources/staticWallets/client/requests/index.d.mts +2 -1
  110. package/dist/esm/api/resources/staticWallets/client/requests/index.mjs +1 -1
  111. package/dist/esm/api/resources/staticWallets/index.d.mts +1 -0
  112. package/dist/esm/api/resources/staticWallets/index.mjs +1 -0
  113. package/dist/esm/api/resources/staticWallets/types/GetV1StaticWalletsRequestOrder.d.mts +5 -0
  114. package/dist/esm/api/resources/staticWallets/types/GetV1StaticWalletsRequestOrder.mjs +5 -0
  115. package/dist/esm/api/resources/staticWallets/types/GetV1StaticWalletsStaticWalletIdDepositsRequestOrder.d.mts +5 -0
  116. package/dist/esm/api/resources/staticWallets/types/GetV1StaticWalletsStaticWalletIdDepositsRequestOrder.mjs +5 -0
  117. package/dist/esm/api/resources/staticWallets/types/index.d.mts +2 -0
  118. package/dist/esm/api/resources/staticWallets/types/index.mjs +2 -0
  119. package/dist/esm/api/types/CryptopayAssetId.d.mts +32 -0
  120. package/dist/esm/api/types/CryptopayAssetId.mjs +32 -0
  121. package/dist/esm/api/types/CryptopayListPaymentsResponse.d.mts +2 -2
  122. package/dist/esm/api/types/CryptopayListStaticDepositsResponse.d.mts +2 -2
  123. package/dist/esm/api/types/CryptopayListStaticWalletsResponse.d.mts +2 -2
  124. package/dist/esm/api/types/CryptopayPaymentResponse.d.mts +6 -6
  125. package/dist/esm/api/types/CryptopayPublicPaymentResponse.d.mts +5 -5
  126. package/dist/esm/api/types/CryptopayRedirectConfigDto.d.mts +11 -1
  127. package/dist/esm/api/types/CryptopayRedirectConfigDto.mjs +10 -1
  128. package/dist/esm/api/types/CryptopayStaticDepositResponse.d.mts +13 -2
  129. package/dist/esm/api/types/CryptopayStaticDepositResponse.mjs +10 -1
  130. package/dist/esm/api/types/CryptopayStaticWalletResponse.d.mts +2 -1
  131. package/dist/esm/api/types/index.d.mts +1 -0
  132. package/dist/esm/api/types/index.mjs +1 -0
  133. package/dist/esm/auth/HeaderAuthProvider.d.mts +1 -1
  134. package/dist/esm/auth/HeaderAuthProvider.mjs +1 -1
  135. package/dist/esm/errors/{SuwardApiError.d.mts → SuwardSDKError.d.mts} +1 -1
  136. package/dist/esm/errors/{SuwardApiError.mjs → SuwardSDKError.mjs} +2 -2
  137. package/dist/{cjs/errors/SuwardApiTimeoutError.d.ts → esm/errors/SuwardSDKTimeoutError.d.mts} +1 -1
  138. package/dist/esm/errors/{SuwardApiTimeoutError.mjs → SuwardSDKTimeoutError.mjs} +2 -2
  139. package/dist/esm/errors/handleNonStatusCodeError.mjs +5 -5
  140. package/dist/esm/errors/index.d.mts +2 -2
  141. package/dist/esm/errors/index.mjs +2 -2
  142. package/dist/esm/index.d.mts +3 -3
  143. package/dist/esm/index.mjs +3 -3
  144. package/dist/esm/version.d.mts +1 -1
  145. package/dist/esm/version.mjs +1 -1
  146. package/package.json +86 -82
  147. package/reference.md +771 -0
@@ -1,6 +1,7 @@
1
+ import type * as SuwardSDK from "../index.mjs";
1
2
  export interface CryptopayStaticWalletResponse {
2
3
  address?: string | undefined;
3
- allowedAssets?: string[] | undefined;
4
+ allowedAssets?: SuwardSDK.CryptopayAssetId[] | undefined;
4
5
  createdAt?: number | undefined;
5
6
  externalId?: string | undefined;
6
7
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  export * from "./ControllerErrorResponse.mjs";
2
+ export * from "./CryptopayAssetId.mjs";
2
3
  export * from "./CryptopayListPaymentsResponse.mjs";
3
4
  export * from "./CryptopayListStaticDepositsResponse.mjs";
4
5
  export * from "./CryptopayListStaticWalletsResponse.mjs";
@@ -1,4 +1,5 @@
1
1
  export * from "./ControllerErrorResponse.mjs";
2
+ export * from "./CryptopayAssetId.mjs";
2
3
  export * from "./CryptopayListPaymentsResponse.mjs";
3
4
  export * from "./CryptopayListStaticDepositsResponse.mjs";
4
5
  export * from "./CryptopayListStaticWalletsResponse.mjs";
@@ -13,7 +13,7 @@ export declare namespace HeaderAuthProvider {
13
13
  const AUTH_CONFIG_ERROR_MESSAGE: string;
14
14
  type Options = AuthOptions;
15
15
  type AuthOptions = {
16
- [PARAM_KEY]: core.Supplier<string>;
16
+ [PARAM_KEY]?: core.Supplier<string>;
17
17
  };
18
18
  function createInstance(options: Options): core.AuthProvider;
19
19
  }
@@ -23,7 +23,7 @@ export class HeaderAuthProvider {
23
23
  return __awaiter(this, arguments, void 0, function* ({ endpointMetadata, } = {}) {
24
24
  const headerValue = yield core.Supplier.get(this.options[PARAM_KEY]);
25
25
  if (headerValue == null) {
26
- throw new errors.SuwardApiError({
26
+ throw new errors.SuwardSDKError({
27
27
  message: HeaderAuthProvider.AUTH_CONFIG_ERROR_MESSAGE,
28
28
  });
29
29
  }
@@ -1,5 +1,5 @@
1
1
  import type * as core from "../core/index.mjs";
2
- export declare class SuwardApiError extends Error {
2
+ export declare class SuwardSDKError extends Error {
3
3
  readonly statusCode?: number;
4
4
  readonly body?: unknown;
5
5
  readonly rawResponse?: core.RawResponse;
@@ -1,13 +1,13 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import { toJson } from "../core/json.mjs";
3
- export class SuwardApiError extends Error {
3
+ export class SuwardSDKError extends Error {
4
4
  constructor({ message, statusCode, body, rawResponse, cause, }) {
5
5
  super(buildMessage({ message, statusCode, body }));
6
6
  Object.setPrototypeOf(this, new.target.prototype);
7
7
  if (Error.captureStackTrace) {
8
8
  Error.captureStackTrace(this, this.constructor);
9
9
  }
10
- this.name = "SuwardApiError";
10
+ this.name = "SuwardSDKError";
11
11
  this.statusCode = statusCode;
12
12
  this.body = body;
13
13
  this.rawResponse = rawResponse;
@@ -1,4 +1,4 @@
1
- export declare class SuwardApiTimeoutError extends Error {
1
+ export declare class SuwardSDKTimeoutError extends Error {
2
2
  readonly cause?: unknown;
3
3
  constructor(message: string, opts?: {
4
4
  cause?: unknown;
@@ -1,12 +1,12 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export class SuwardApiTimeoutError extends Error {
2
+ export class SuwardSDKTimeoutError extends Error {
3
3
  constructor(message, opts) {
4
4
  super(message);
5
5
  Object.setPrototypeOf(this, new.target.prototype);
6
6
  if (Error.captureStackTrace) {
7
7
  Error.captureStackTrace(this, this.constructor);
8
8
  }
9
- this.name = "SuwardApiTimeoutError";
9
+ this.name = "SuwardSDKTimeoutError";
10
10
  if ((opts === null || opts === void 0 ? void 0 : opts.cause) != null) {
11
11
  this.cause = opts.cause;
12
12
  }
@@ -3,28 +3,28 @@ import * as errors from "./index.mjs";
3
3
  export function handleNonStatusCodeError(error, rawResponse, method, path) {
4
4
  switch (error.reason) {
5
5
  case "non-json":
6
- throw new errors.SuwardApiError({
6
+ throw new errors.SuwardSDKError({
7
7
  statusCode: error.statusCode,
8
8
  body: error.rawBody,
9
9
  rawResponse: rawResponse,
10
10
  });
11
11
  case "body-is-null":
12
- throw new errors.SuwardApiError({
12
+ throw new errors.SuwardSDKError({
13
13
  statusCode: error.statusCode,
14
14
  rawResponse: rawResponse,
15
15
  });
16
16
  case "timeout":
17
- throw new errors.SuwardApiTimeoutError(`Timeout exceeded when calling ${method} ${path}.`, {
17
+ throw new errors.SuwardSDKTimeoutError(`Timeout exceeded when calling ${method} ${path}.`, {
18
18
  cause: error.cause,
19
19
  });
20
20
  case "unknown":
21
- throw new errors.SuwardApiError({
21
+ throw new errors.SuwardSDKError({
22
22
  message: error.errorMessage,
23
23
  rawResponse: rawResponse,
24
24
  cause: error.cause,
25
25
  });
26
26
  default:
27
- throw new errors.SuwardApiError({
27
+ throw new errors.SuwardSDKError({
28
28
  message: "Unknown error",
29
29
  rawResponse: rawResponse,
30
30
  });
@@ -1,2 +1,2 @@
1
- export { SuwardApiError } from "./SuwardApiError.mjs";
2
- export { SuwardApiTimeoutError } from "./SuwardApiTimeoutError.mjs";
1
+ export { SuwardSDKError } from "./SuwardSDKError.mjs";
2
+ export { SuwardSDKTimeoutError } from "./SuwardSDKTimeoutError.mjs";
@@ -1,2 +1,2 @@
1
- export { SuwardApiError } from "./SuwardApiError.mjs";
2
- export { SuwardApiTimeoutError } from "./SuwardApiTimeoutError.mjs";
1
+ export { SuwardSDKError } from "./SuwardSDKError.mjs";
2
+ export { SuwardSDKTimeoutError } from "./SuwardSDKTimeoutError.mjs";
@@ -1,5 +1,5 @@
1
- export * as SuwardApi from "./api/index.mjs";
1
+ export * as SuwardSDK from "./api/index.mjs";
2
2
  export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
3
- export { SuwardApiClient } from "./Client.mjs";
4
- export { SuwardApiError, SuwardApiTimeoutError } from "./errors/index.mjs";
3
+ export { SuwardSDKClient } from "./Client.mjs";
4
+ export { SuwardSDKError, SuwardSDKTimeoutError } from "./errors/index.mjs";
5
5
  export * from "./exports.mjs";
@@ -1,4 +1,4 @@
1
- export * as SuwardApi from "./api/index.mjs";
2
- export { SuwardApiClient } from "./Client.mjs";
3
- export { SuwardApiError, SuwardApiTimeoutError } from "./errors/index.mjs";
1
+ export * as SuwardSDK from "./api/index.mjs";
2
+ export { SuwardSDKClient } from "./Client.mjs";
3
+ export { SuwardSDKError, SuwardSDKTimeoutError } from "./errors/index.mjs";
4
4
  export * from "./exports.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.14";
1
+ export declare const SDK_VERSION = "0.0.16";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.14";
1
+ export const SDK_VERSION = "0.0.16";
package/package.json CHANGED
@@ -1,87 +1,91 @@
1
1
  {
2
- "version": "0.0.14",
3
- "private": false,
4
- "type": "commonjs",
5
- "main": "./dist/cjs/index.js",
6
- "module": "./dist/esm/index.mjs",
7
- "types": "./dist/cjs/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "import": {
11
- "types": "./dist/esm/index.d.mts",
12
- "default": "./dist/esm/index.mjs"
13
- },
14
- "require": {
15
- "types": "./dist/cjs/index.d.ts",
16
- "default": "./dist/cjs/index.js"
17
- },
18
- "default": "./dist/cjs/index.js"
2
+ "name": "pkg-sdk-test",
3
+ "version": "0.0.16",
4
+ "private": false,
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/crylabsorg/suward-sdk-ts.git"
19
8
  },
20
- "./payments": {
21
- "import": {
22
- "types": "./dist/esm/api/resources/payments/exports.d.mts",
23
- "default": "./dist/esm/api/resources/payments/exports.mjs"
24
- },
25
- "require": {
26
- "types": "./dist/cjs/api/resources/payments/exports.d.ts",
27
- "default": "./dist/cjs/api/resources/payments/exports.js"
28
- },
29
- "default": "./dist/cjs/api/resources/payments/exports.js"
9
+ "type": "commonjs",
10
+ "main": "./dist/cjs/index.js",
11
+ "module": "./dist/esm/index.mjs",
12
+ "types": "./dist/cjs/index.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "import": {
16
+ "types": "./dist/esm/index.d.mts",
17
+ "default": "./dist/esm/index.mjs"
18
+ },
19
+ "require": {
20
+ "types": "./dist/cjs/index.d.ts",
21
+ "default": "./dist/cjs/index.js"
22
+ },
23
+ "default": "./dist/cjs/index.js"
24
+ },
25
+ "./payments": {
26
+ "import": {
27
+ "types": "./dist/esm/api/resources/payments/exports.d.mts",
28
+ "default": "./dist/esm/api/resources/payments/exports.mjs"
29
+ },
30
+ "require": {
31
+ "types": "./dist/cjs/api/resources/payments/exports.d.ts",
32
+ "default": "./dist/cjs/api/resources/payments/exports.js"
33
+ },
34
+ "default": "./dist/cjs/api/resources/payments/exports.js"
35
+ },
36
+ "./staticWallets": {
37
+ "import": {
38
+ "types": "./dist/esm/api/resources/staticWallets/exports.d.mts",
39
+ "default": "./dist/esm/api/resources/staticWallets/exports.mjs"
40
+ },
41
+ "require": {
42
+ "types": "./dist/cjs/api/resources/staticWallets/exports.d.ts",
43
+ "default": "./dist/cjs/api/resources/staticWallets/exports.js"
44
+ },
45
+ "default": "./dist/cjs/api/resources/staticWallets/exports.js"
46
+ },
47
+ "./package.json": "./package.json"
30
48
  },
31
- "./staticWallets": {
32
- "import": {
33
- "types": "./dist/esm/api/resources/staticWallets/exports.d.mts",
34
- "default": "./dist/esm/api/resources/staticWallets/exports.mjs"
35
- },
36
- "require": {
37
- "types": "./dist/cjs/api/resources/staticWallets/exports.d.ts",
38
- "default": "./dist/cjs/api/resources/staticWallets/exports.js"
39
- },
40
- "default": "./dist/cjs/api/resources/staticWallets/exports.js"
49
+ "files": [
50
+ "dist",
51
+ "reference.md",
52
+ "README.md",
53
+ "LICENSE"
54
+ ],
55
+ "scripts": {
56
+ "format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
57
+ "format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
58
+ "lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
59
+ "lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
60
+ "check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
61
+ "check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
62
+ "build": "pnpm build:cjs && pnpm build:esm",
63
+ "build:cjs": "tsc --project ./tsconfig.cjs.json",
64
+ "build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
65
+ "test": "vitest",
66
+ "test:unit": "vitest --project unit",
67
+ "test:wire": "vitest --project wire"
41
68
  },
42
- "./package.json": "./package.json"
43
- },
44
- "files": [
45
- "dist",
46
- "reference.md",
47
- "README.md",
48
- "LICENSE"
49
- ],
50
- "scripts": {
51
- "format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
52
- "format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
53
- "lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
54
- "lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
55
- "check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
56
- "check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
57
- "build": "pnpm build:cjs && pnpm build:esm",
58
- "build:cjs": "tsc --project ./tsconfig.cjs.json",
59
- "build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
60
- "test": "vitest",
61
- "test:unit": "vitest --project unit",
62
- "test:wire": "vitest --project wire"
63
- },
64
- "dependencies": {},
65
- "devDependencies": {
66
- "webpack": "^5.105.4",
67
- "ts-loader": "^9.5.4",
68
- "vitest": "^4.1.1",
69
- "msw": "2.11.2",
70
- "@types/node": "^20.0.0",
71
- "typescript": "~5.9.3",
72
- "@biomejs/biome": "2.4.10"
73
- },
74
- "browser": {
75
- "fs": false,
76
- "os": false,
77
- "path": false,
78
- "stream": false,
79
- "crypto": false
80
- },
81
- "packageManager": "pnpm@10.33.0",
82
- "engines": {
83
- "node": ">=18.0.0"
84
- },
85
- "sideEffects": false,
86
- "name": "pkg-sdk-test"
69
+ "dependencies": {},
70
+ "devDependencies": {
71
+ "webpack": "^5.105.4",
72
+ "ts-loader": "^9.5.4",
73
+ "vitest": "^4.1.1",
74
+ "msw": "2.11.2",
75
+ "@types/node": "^20.0.0",
76
+ "typescript": "~5.9.3",
77
+ "@biomejs/biome": "2.4.10"
78
+ },
79
+ "browser": {
80
+ "fs": false,
81
+ "os": false,
82
+ "path": false,
83
+ "stream": false,
84
+ "crypto": false
85
+ },
86
+ "packageManager": "pnpm@10.33.0",
87
+ "engines": {
88
+ "node": ">=18.0.0"
89
+ },
90
+ "sideEffects": false
87
91
  }