@circle-fin/app-kit 1.15.1 → 1.15.2

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @circle-fin/app-kit
2
2
 
3
+ ## 1.15.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix CORS errors that blocked CCTPx bridge quotes in browser-based apps.
8
+
3
9
  ## 1.15.1
4
10
 
5
11
  ### Patch Changes
package/bridge.cjs CHANGED
@@ -12063,7 +12063,7 @@ function resolveOptions(options) {
12063
12063
  }
12064
12064
 
12065
12065
  var name$2 = "@circle-fin/bridge-kit";
12066
- var version$3 = "1.15.0";
12066
+ var version$3 = "1.15.1";
12067
12067
  var pkg$3 = {
12068
12068
  name: name$2,
12069
12069
  version: version$3};
@@ -13186,7 +13186,7 @@ function createBridgeParamsSchema(tokenSchema, config) {
13186
13186
  /**
13187
13187
  * `POST` — returns a server-signed fee quote for a CCTPx transfer of the
13188
13188
  * given `tokenId` between the named source and destination domains.
13189
- */ const CCTPX_FEE_QUOTE_PATH = '/v1/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
13189
+ */ const CCTPX_FEE_QUOTE_PATH = '/v2/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
13190
13190
  /**
13191
13191
  * `GET` — returns the remaining fast-burn allowance for the given
13192
13192
  * `tokenIds` (a comma-separated query param of bytes32 token ids). Backs
@@ -14678,7 +14678,7 @@ function createNoopLogger() {
14678
14678
  })
14679
14679
  ]);
14680
14680
  /**
14681
- * Schema for `POST /v1/quote/cctpx/{tokenId}/{src}/{dst}`.
14681
+ * Schema for `POST /v2/quote/cctpx/{tokenId}/{src}/{dst}`.
14682
14682
  *
14683
14683
  * Use {@link parseOrThrow} from `@core/utils` to validate payloads
14684
14684
  * against this schema.
package/bridge.mjs CHANGED
@@ -12056,7 +12056,7 @@ function resolveOptions(options) {
12056
12056
  }
12057
12057
 
12058
12058
  var name$2 = "@circle-fin/bridge-kit";
12059
- var version$3 = "1.15.0";
12059
+ var version$3 = "1.15.1";
12060
12060
  var pkg$3 = {
12061
12061
  name: name$2,
12062
12062
  version: version$3};
@@ -13179,7 +13179,7 @@ function createBridgeParamsSchema(tokenSchema, config) {
13179
13179
  /**
13180
13180
  * `POST` — returns a server-signed fee quote for a CCTPx transfer of the
13181
13181
  * given `tokenId` between the named source and destination domains.
13182
- */ const CCTPX_FEE_QUOTE_PATH = '/v1/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
13182
+ */ const CCTPX_FEE_QUOTE_PATH = '/v2/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
13183
13183
  /**
13184
13184
  * `GET` — returns the remaining fast-burn allowance for the given
13185
13185
  * `tokenIds` (a comma-separated query param of bytes32 token ids). Backs
@@ -14671,7 +14671,7 @@ function createNoopLogger() {
14671
14671
  })
14672
14672
  ]);
14673
14673
  /**
14674
- * Schema for `POST /v1/quote/cctpx/{tokenId}/{src}/{dst}`.
14674
+ * Schema for `POST /v2/quote/cctpx/{tokenId}/{src}/{dst}`.
14675
14675
  *
14676
14676
  * Use {@link parseOrThrow} from `@core/utils` to validate payloads
14677
14677
  * against this schema.
package/earn.cjs CHANGED
@@ -9135,7 +9135,7 @@ const swapTokenEnumSchema = zod.z.enum([
9135
9135
  }
9136
9136
 
9137
9137
  var name$3 = "@circle-fin/bridge-kit";
9138
- var version$3 = "1.15.0";
9138
+ var version$3 = "1.15.1";
9139
9139
  var pkg$3 = {
9140
9140
  name: name$3,
9141
9141
  version: version$3};
package/earn.mjs CHANGED
@@ -9129,7 +9129,7 @@ const swapTokenEnumSchema = z.enum([
9129
9129
  }
9130
9130
 
9131
9131
  var name$3 = "@circle-fin/bridge-kit";
9132
- var version$3 = "1.15.0";
9132
+ var version$3 = "1.15.1";
9133
9133
  var pkg$3 = {
9134
9134
  name: name$3,
9135
9135
  version: version$3};
@@ -12063,7 +12063,7 @@ function resolveOptions(options) {
12063
12063
  }
12064
12064
 
12065
12065
  var name$2 = "@circle-fin/bridge-kit";
12066
- var version$3 = "1.15.0";
12066
+ var version$3 = "1.15.1";
12067
12067
  var pkg$3 = {
12068
12068
  name: name$2,
12069
12069
  version: version$3};
@@ -13186,7 +13186,7 @@ function createBridgeParamsSchema(tokenSchema, config) {
13186
13186
  /**
13187
13187
  * `POST` — returns a server-signed fee quote for a CCTPx transfer of the
13188
13188
  * given `tokenId` between the named source and destination domains.
13189
- */ const CCTPX_FEE_QUOTE_PATH = '/v1/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
13189
+ */ const CCTPX_FEE_QUOTE_PATH = '/v2/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
13190
13190
  /**
13191
13191
  * `GET` — returns the remaining fast-burn allowance for the given
13192
13192
  * `tokenIds` (a comma-separated query param of bytes32 token ids). Backs
@@ -14678,7 +14678,7 @@ function createNoopLogger() {
14678
14678
  })
14679
14679
  ]);
14680
14680
  /**
14681
- * Schema for `POST /v1/quote/cctpx/{tokenId}/{src}/{dst}`.
14681
+ * Schema for `POST /v2/quote/cctpx/{tokenId}/{src}/{dst}`.
14682
14682
  *
14683
14683
  * Use {@link parseOrThrow} from `@core/utils` to validate payloads
14684
14684
  * against this schema.
@@ -12056,7 +12056,7 @@ function resolveOptions(options) {
12056
12056
  }
12057
12057
 
12058
12058
  var name$2 = "@circle-fin/bridge-kit";
12059
- var version$3 = "1.15.0";
12059
+ var version$3 = "1.15.1";
12060
12060
  var pkg$3 = {
12061
12061
  name: name$2,
12062
12062
  version: version$3};
@@ -13179,7 +13179,7 @@ function createBridgeParamsSchema(tokenSchema, config) {
13179
13179
  /**
13180
13180
  * `POST` — returns a server-signed fee quote for a CCTPx transfer of the
13181
13181
  * given `tokenId` between the named source and destination domains.
13182
- */ const CCTPX_FEE_QUOTE_PATH = '/v1/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
13182
+ */ const CCTPX_FEE_QUOTE_PATH = '/v2/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
13183
13183
  /**
13184
13184
  * `GET` — returns the remaining fast-burn allowance for the given
13185
13185
  * `tokenIds` (a comma-separated query param of bytes32 token ids). Backs
@@ -14671,7 +14671,7 @@ function createNoopLogger() {
14671
14671
  })
14672
14672
  ]);
14673
14673
  /**
14674
- * Schema for `POST /v1/quote/cctpx/{tokenId}/{src}/{dst}`.
14674
+ * Schema for `POST /v2/quote/cctpx/{tokenId}/{src}/{dst}`.
14675
14675
  *
14676
14676
  * Use {@link parseOrThrow} from `@core/utils` to validate payloads
14677
14677
  * against this schema.
package/estimateSwap.cjs CHANGED
@@ -10564,7 +10564,7 @@ const swapTokenEnumSchema = zod.z.enum([
10564
10564
  }
10565
10565
 
10566
10566
  var name$2 = "@circle-fin/bridge-kit";
10567
- var version$2 = "1.15.0";
10567
+ var version$2 = "1.15.1";
10568
10568
  var pkg$2 = {
10569
10569
  name: name$2,
10570
10570
  version: version$2};
package/estimateSwap.mjs CHANGED
@@ -10557,7 +10557,7 @@ const swapTokenEnumSchema = z.enum([
10557
10557
  }
10558
10558
 
10559
10559
  var name$2 = "@circle-fin/bridge-kit";
10560
- var version$2 = "1.15.0";
10560
+ var version$2 = "1.15.1";
10561
10561
  var pkg$2 = {
10562
10562
  name: name$2,
10563
10563
  version: version$2};
package/index.cjs CHANGED
@@ -13607,7 +13607,7 @@ function resolveOptions(options) {
13607
13607
  }
13608
13608
 
13609
13609
  var name$4 = "@circle-fin/bridge-kit";
13610
- var version$5 = "1.15.0";
13610
+ var version$5 = "1.15.1";
13611
13611
  var pkg$5 = {
13612
13612
  name: name$4,
13613
13613
  version: version$5};
@@ -14799,7 +14799,7 @@ function createBridgeParamsSchema(tokenSchema, config) {
14799
14799
  /**
14800
14800
  * `POST` — returns a server-signed fee quote for a CCTPx transfer of the
14801
14801
  * given `tokenId` between the named source and destination domains.
14802
- */ const CCTPX_FEE_QUOTE_PATH = '/v1/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
14802
+ */ const CCTPX_FEE_QUOTE_PATH = '/v2/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
14803
14803
  /**
14804
14804
  * `GET` — returns the remaining fast-burn allowance for the given
14805
14805
  * `tokenIds` (a comma-separated query param of bytes32 token ids). Backs
@@ -16330,7 +16330,7 @@ function createNoopLogger() {
16330
16330
  })
16331
16331
  ]);
16332
16332
  /**
16333
- * Schema for `POST /v1/quote/cctpx/{tokenId}/{src}/{dst}`.
16333
+ * Schema for `POST /v2/quote/cctpx/{tokenId}/{src}/{dst}`.
16334
16334
  *
16335
16335
  * Use {@link parseOrThrow} from `@core/utils` to validate payloads
16336
16336
  * against this schema.
package/index.mjs CHANGED
@@ -13600,7 +13600,7 @@ function resolveOptions(options) {
13600
13600
  }
13601
13601
 
13602
13602
  var name$4 = "@circle-fin/bridge-kit";
13603
- var version$5 = "1.15.0";
13603
+ var version$5 = "1.15.1";
13604
13604
  var pkg$5 = {
13605
13605
  name: name$4,
13606
13606
  version: version$5};
@@ -14792,7 +14792,7 @@ function createBridgeParamsSchema(tokenSchema, config) {
14792
14792
  /**
14793
14793
  * `POST` — returns a server-signed fee quote for a CCTPx transfer of the
14794
14794
  * given `tokenId` between the named source and destination domains.
14795
- */ const CCTPX_FEE_QUOTE_PATH = '/v1/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
14795
+ */ const CCTPX_FEE_QUOTE_PATH = '/v2/quote/cctpx/{tokenId}/{sourceDomain}/{destinationDomain}';
14796
14796
  /**
14797
14797
  * `GET` — returns the remaining fast-burn allowance for the given
14798
14798
  * `tokenIds` (a comma-separated query param of bytes32 token ids). Backs
@@ -16323,7 +16323,7 @@ function createNoopLogger() {
16323
16323
  })
16324
16324
  ]);
16325
16325
  /**
16326
- * Schema for `POST /v1/quote/cctpx/{tokenId}/{src}/{dst}`.
16326
+ * Schema for `POST /v2/quote/cctpx/{tokenId}/{src}/{dst}`.
16327
16327
  *
16328
16328
  * Use {@link parseOrThrow} from `@core/utils` to validate payloads
16329
16329
  * against this schema.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@circle-fin/app-kit",
3
- "version": "1.15.1",
3
+ "version": "1.15.2",
4
4
  "description": "A one-stop Circle SDK solution for building stablecoin (e.g. USDC) applications, with bridging, swapping, and more on-chain operations",
5
5
  "keywords": [
6
6
  "circle",
@@ -40,7 +40,7 @@
40
40
  "@circle-fin/unified-balance-kit": "1.7.0",
41
41
  "@circle-fin/provider-gateway-v1": "1.5.0",
42
42
  "@circle-fin/earn-kit": "1.7.0",
43
- "@circle-fin/bridge-kit": "1.15.0",
43
+ "@circle-fin/bridge-kit": "1.15.1",
44
44
  "@circle-fin/swap-kit": "1.7.0",
45
45
  "@coral-xyz/anchor": "^0.31.1",
46
46
  "@noble/curves": "1.4.2",
package/swap.cjs CHANGED
@@ -10564,7 +10564,7 @@ const swapTokenEnumSchema = zod.z.enum([
10564
10564
  }
10565
10565
 
10566
10566
  var name$2 = "@circle-fin/bridge-kit";
10567
- var version$2 = "1.15.0";
10567
+ var version$2 = "1.15.1";
10568
10568
  var pkg$2 = {
10569
10569
  name: name$2,
10570
10570
  version: version$2};
package/swap.mjs CHANGED
@@ -10557,7 +10557,7 @@ const swapTokenEnumSchema = z.enum([
10557
10557
  }
10558
10558
 
10559
10559
  var name$2 = "@circle-fin/bridge-kit";
10560
- var version$2 = "1.15.0";
10560
+ var version$2 = "1.15.1";
10561
10561
  var pkg$2 = {
10562
10562
  name: name$2,
10563
10563
  version: version$2};