@cosmosapp/pay_sdk 1.2.0 → 1.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/README.md +7 -5
- package/dist/{chunk-TZDZBVFS.js → chunk-KZNJR223.js} +3 -3
- package/dist/{chunk-TZDZBVFS.js.map → chunk-KZNJR223.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/llms/03-quickstart.md +4 -4
- package/llms/05-payment-intents.md +6 -2
- package/llms/14-recipes.md +14 -8
- package/llms/llms-full.txt +24 -14
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -814,7 +814,7 @@ interface Client {
|
|
|
814
814
|
*/
|
|
815
815
|
declare class Client extends EventEmitter {
|
|
816
816
|
/** Library version. */
|
|
817
|
-
static readonly version = "1.2.
|
|
817
|
+
static readonly version = "1.2.1";
|
|
818
818
|
/**
|
|
819
819
|
* Process-wide shared defaults maintained by Cosmos Pay (gateway URL, version,
|
|
820
820
|
* internal secrets). Mutate once at startup to change them for every client
|
|
@@ -905,7 +905,7 @@ declare const Webhooks: {
|
|
|
905
905
|
};
|
|
906
906
|
|
|
907
907
|
/** Library version, kept in sync with package.json. */
|
|
908
|
-
declare const version = "1.2.
|
|
908
|
+
declare const version = "1.2.1";
|
|
909
909
|
/**
|
|
910
910
|
* Default base URL of the Cosmos Pay gateway. Maintained by Cosmos Pay — users
|
|
911
911
|
* never need to set this; it's part of the {@link shared} configuration. Override
|
package/dist/index.d.ts
CHANGED
|
@@ -814,7 +814,7 @@ interface Client {
|
|
|
814
814
|
*/
|
|
815
815
|
declare class Client extends EventEmitter {
|
|
816
816
|
/** Library version. */
|
|
817
|
-
static readonly version = "1.2.
|
|
817
|
+
static readonly version = "1.2.1";
|
|
818
818
|
/**
|
|
819
819
|
* Process-wide shared defaults maintained by Cosmos Pay (gateway URL, version,
|
|
820
820
|
* internal secrets). Mutate once at startup to change them for every client
|
|
@@ -905,7 +905,7 @@ declare const Webhooks: {
|
|
|
905
905
|
};
|
|
906
906
|
|
|
907
907
|
/** Library version, kept in sync with package.json. */
|
|
908
|
-
declare const version = "1.2.
|
|
908
|
+
declare const version = "1.2.1";
|
|
909
909
|
/**
|
|
910
910
|
* Default base URL of the Cosmos Pay gateway. Maintained by Cosmos Pay — users
|
|
911
911
|
* 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-KZNJR223.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-KZNJR223.js';
|
|
3
3
|
import { EventEmitter } from 'events';
|
|
4
4
|
import { createHmac, timingSafeEqual } from 'crypto';
|
|
5
5
|
|
package/dist/web/index.cjs
CHANGED
|
@@ -829,7 +829,7 @@ var CosmosPayRequestError = class _CosmosPayRequestError extends Error {
|
|
|
829
829
|
};
|
|
830
830
|
|
|
831
831
|
// src/util/Constants.ts
|
|
832
|
-
var version = "1.2.
|
|
832
|
+
var version = "1.2.1";
|
|
833
833
|
var DEFAULT_BASE_URL = "https://api.cosmospay.lat/cosmos-api";
|
|
834
834
|
|
|
835
835
|
// src/web/rest.ts
|