@depthhq/maker-sdk 0.1.2 → 0.1.3

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/index.js CHANGED
@@ -26448,7 +26448,7 @@ class WalletSession {
26448
26448
  async request(path, init) {
26449
26449
  if (!this.options.serviceUrl)
26450
26450
  throw new Error("A maker service URL is required");
26451
- const response = await fetch(`${this.options.serviceUrl.replace(/\/$/, "")}/v1/maker/${this.prefix}${path}`, {
26451
+ const response = await fetch(`${this.options.serviceUrl.replace(/\/$/, "")}/v1/maker/${`${this.prefix}${path}`.replace(/\/$/, "")}`, {
26452
26452
  ...init,
26453
26453
  cache: "no-store",
26454
26454
  signal: AbortSignal.timeout(15000)
@@ -24962,7 +24962,7 @@ class WalletSession {
24962
24962
  async request(path, init) {
24963
24963
  if (!this.options.serviceUrl)
24964
24964
  throw new Error("A maker service URL is required");
24965
- const response = await fetch(`${this.options.serviceUrl.replace(/\/$/, "")}/v1/maker/${this.prefix}${path}`, {
24965
+ const response = await fetch(`${this.options.serviceUrl.replace(/\/$/, "")}/v1/maker/${`${this.prefix}${path}`.replace(/\/$/, "")}`, {
24966
24966
  ...init,
24967
24967
  cache: "no-store",
24968
24968
  signal: AbortSignal.timeout(15000)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depthhq/maker-sdk",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -29,8 +29,8 @@
29
29
  "@solana/web3.js": "1.99.0",
30
30
  "buffer": "6.0.3",
31
31
  "viem": "2.38.0",
32
- "@depthhq/sdk": "0.1.1",
33
- "@depthhq/bindings": "0.1.1"
32
+ "@depthhq/bindings": "0.1.1",
33
+ "@depthhq/sdk": "0.1.1"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "node ../../scripts/build-package.mjs maker-sdk",