@zebec-network/zebec-stream-sdk 3.1.0 → 3.1.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/dist/constants.js CHANGED
@@ -11,6 +11,6 @@ exports.STREAM_PROGRAM_LOOKUP_TABLE_ADDRESS = {
11
11
  "mainnet-beta": "43N5otEu7k7TzkKsdhkwiYGrdKjBejetWQbF9cJPtY6i",
12
12
  };
13
13
  exports.SUPERAPP_BACKEND_URL = {
14
- "mainnet-beta": "https://superapp-backend.zebec.io",
14
+ "mainnet-beta": "https://api.superapp.zebec.io",
15
15
  devnet: "https://dev-super.api.zebec.io",
16
16
  };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export * from "./artifacts";
2
2
  export * from "./constants";
3
- export * from "./services";
4
3
  export * from "./pda";
5
4
  export * from "./providers";
5
+ export * from "./services";
6
6
  export * from "./types";
7
7
  export * from "./utils";
package/dist/index.js CHANGED
@@ -16,8 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./artifacts"), exports);
18
18
  __exportStar(require("./constants"), exports);
19
- __exportStar(require("./services"), exports);
20
19
  __exportStar(require("./pda"), exports);
21
20
  __exportStar(require("./providers"), exports);
21
+ __exportStar(require("./services"), exports);
22
22
  __exportStar(require("./types"), exports);
23
23
  __exportStar(require("./utils"), exports);
@@ -1,5 +1,5 @@
1
- import { Address, AnchorProvider } from "@coral-xyz/anchor";
2
- import { ConfirmOptions, Connection, PublicKey, Transaction, VersionedTransaction } from "@solana/web3.js";
1
+ import { type Address, AnchorProvider } from "@coral-xyz/anchor";
2
+ import type { ConfirmOptions, Connection, PublicKey, Transaction, VersionedTransaction } from "@solana/web3.js";
3
3
  export declare class ReadonlyProvider {
4
4
  readonly connection: Connection;
5
5
  readonly walletAddress?: PublicKey;
package/dist/utils.js CHANGED
@@ -13,7 +13,6 @@ async function getFeeInfoForStream(streamToken, parsedStreamTokenAmount, streamT
13
13
  decimals: streamTokenDecimals.toString(),
14
14
  });
15
15
  const url = `${constants_1.SUPERAPP_BACKEND_URL[network]}/l1-stream/fees/stream-quote?${urlsParams}`;
16
- console.debug("fetching fee token amount from url:", url);
17
16
  const response = await fetch(url);
18
17
  if (!response.ok) {
19
18
  const body = await response.json().catch(() => null);
package/package.json CHANGED
@@ -40,5 +40,5 @@
40
40
  "test:single": "ts-mocha -p ./tsconfig.json -t 1000000000"
41
41
  },
42
42
  "types": "dist/index.d.ts",
43
- "version": "3.1.0"
43
+ "version": "3.1.1"
44
44
  }