@streamflow/distributor 9.1.0 → 9.2.0-alpha.p0.5034440
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/README.md +2 -2
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/solana/index.cjs +1 -1
- package/dist/cjs/solana/index.cjs.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/solana/index.js +1 -1
- package/dist/esm/solana/index.js.map +1 -1
- package/package.json +4 -4
package/dist/esm/index.js
CHANGED
|
@@ -352,7 +352,7 @@ var DISTRIBUTOR_PROGRAM_ID = {
|
|
|
352
352
|
[ICluster.Local]: "MErKy6nZVoVAkryxAejJz2juifQ4ArgLgHmaJCQkU7N"
|
|
353
353
|
};
|
|
354
354
|
var fetchAirdropFee = async (distributorId, cluster = ICluster.Mainnet, fetchFn = fetch) => {
|
|
355
|
-
const baseUrl = cluster === ICluster.Mainnet ? "https://api.streamflow.finance" : "https://staging-api.streamflow.finance";
|
|
355
|
+
const baseUrl = cluster === ICluster.Mainnet ? "https://api-public.streamflow.finance" : "https://staging-api-public.streamflow.finance";
|
|
356
356
|
const url = `${baseUrl}/v2/api/airdrops/${encodeURIComponent(distributorId)}/fees`;
|
|
357
357
|
const res = await fetchFn(url, {
|
|
358
358
|
method: "GET",
|