@cosmosapp/pay_sdk 2.2.0 → 2.2.1
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/CHANGELOG.md +5 -0
- package/dist/{chunk-AQEHMCJZ.js → chunk-OVFDKC5Z.js} +3 -3
- package/dist/{chunk-AQEHMCJZ.js.map → chunk-OVFDKC5Z.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/web/index.cjs +1 -1
- package/dist/web/index.cjs.map +1 -1
- package/dist/web/index.js +2 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1660,7 +1660,7 @@ interface Client {
|
|
|
1660
1660
|
*/
|
|
1661
1661
|
declare class Client extends EventEmitter {
|
|
1662
1662
|
/** Library version. */
|
|
1663
|
-
static readonly version = "2.2.
|
|
1663
|
+
static readonly version = "2.2.1";
|
|
1664
1664
|
/**
|
|
1665
1665
|
* Process-wide shared defaults maintained by Cosmos Pay (gateway URL, version,
|
|
1666
1666
|
* internal secrets). Mutate once at startup to change them for every client
|
|
@@ -1773,7 +1773,7 @@ declare const Webhooks: {
|
|
|
1773
1773
|
};
|
|
1774
1774
|
|
|
1775
1775
|
/** Library version, kept in sync with package.json. */
|
|
1776
|
-
declare const version = "2.2.
|
|
1776
|
+
declare const version = "2.2.1";
|
|
1777
1777
|
/**
|
|
1778
1778
|
* Default base URL of the Cosmos Pay gateway. Maintained by Cosmos Pay — users
|
|
1779
1779
|
* never need to set this; it's part of the {@link shared} configuration. Override
|
package/dist/index.d.ts
CHANGED
|
@@ -1660,7 +1660,7 @@ interface Client {
|
|
|
1660
1660
|
*/
|
|
1661
1661
|
declare class Client extends EventEmitter {
|
|
1662
1662
|
/** Library version. */
|
|
1663
|
-
static readonly version = "2.2.
|
|
1663
|
+
static readonly version = "2.2.1";
|
|
1664
1664
|
/**
|
|
1665
1665
|
* Process-wide shared defaults maintained by Cosmos Pay (gateway URL, version,
|
|
1666
1666
|
* internal secrets). Mutate once at startup to change them for every client
|
|
@@ -1773,7 +1773,7 @@ declare const Webhooks: {
|
|
|
1773
1773
|
};
|
|
1774
1774
|
|
|
1775
1775
|
/** Library version, kept in sync with package.json. */
|
|
1776
|
-
declare const version = "2.2.
|
|
1776
|
+
declare const version = "2.2.1";
|
|
1777
1777
|
/**
|
|
1778
1778
|
* Default base URL of the Cosmos Pay gateway. Maintained by Cosmos Pay — users
|
|
1779
1779
|
* never need to set this; it's part of the {@link shared} configuration. Override
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { version, DEFAULT_VERSION, DEFAULT_BASE_URL, DEFAULT_TIMEOUT, DEFAULT_RETRIES, Events, CosmosPayAPIError, CosmosPayRequestError, resolveIntentBody, SIGNATURE_HEADER } from './chunk-
|
|
2
|
-
export { AddressBook, Assets, CosmosPayAPIError, CosmosPayRequestError, DEFAULT_BASE_URL, DEFAULT_RETRIES, DEFAULT_TIMEOUT, DEFAULT_VERSION, Events, SIGNATURE_HEADER, TestnetAssets, Wallets, addresses, assertAddress, defineAsset, isAddress, isContractAddress, isMuxedAddress, isNativeAsset, isStellarAddress, resolveAddress, resolveAsset, resolveIntentBody, version } from './chunk-
|
|
1
|
+
import { version, DEFAULT_VERSION, DEFAULT_BASE_URL, DEFAULT_TIMEOUT, DEFAULT_RETRIES, Events, CosmosPayAPIError, CosmosPayRequestError, resolveIntentBody, SIGNATURE_HEADER } from './chunk-OVFDKC5Z.js';
|
|
2
|
+
export { AddressBook, Assets, CosmosPayAPIError, CosmosPayRequestError, DEFAULT_BASE_URL, DEFAULT_RETRIES, DEFAULT_TIMEOUT, DEFAULT_VERSION, Events, SIGNATURE_HEADER, TestnetAssets, Wallets, addresses, assertAddress, defineAsset, isAddress, isContractAddress, isMuxedAddress, isNativeAsset, isStellarAddress, resolveAddress, resolveAsset, resolveIntentBody, version } from './chunk-OVFDKC5Z.js';
|
|
3
3
|
import { EventEmitter } from 'events';
|
|
4
4
|
import { createHmac, timingSafeEqual } from 'crypto';
|
|
5
5
|
|
package/dist/web/index.cjs
CHANGED
|
@@ -949,7 +949,7 @@ var CosmosPayRequestError = class _CosmosPayRequestError extends Error {
|
|
|
949
949
|
};
|
|
950
950
|
|
|
951
951
|
// src/util/Constants.ts
|
|
952
|
-
var version = "2.2.
|
|
952
|
+
var version = "2.2.1";
|
|
953
953
|
var DEFAULT_BASE_URL = "https://api.cosmospay.lat/cosmos-api";
|
|
954
954
|
|
|
955
955
|
// src/web/rest.ts
|