@streamflow/distributor 9.1.0 → 9.2.0
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/README.md
CHANGED
|
@@ -250,5 +250,5 @@ Streamflow Distributor protocol program IDs
|
|
|
250
250
|
|
|
251
251
|
| Solana | |
|
|
252
252
|
| ------- | -------------------------------------------- |
|
|
253
|
-
|
|
|
254
|
-
| Mainnet |
|
|
253
|
+
| Devnet | MErKy6nZVoVAkryxAejJz2juifQ4ArgLgHmaJCQkU7N |
|
|
254
|
+
| Mainnet | MErKy6nZVoVAkryxAejJz2juifQ4ArgLgHmaJCQkU7N |
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -378,7 +378,7 @@ var DISTRIBUTOR_PROGRAM_ID = {
|
|
|
378
378
|
[common.ICluster.Local]: "MErKy6nZVoVAkryxAejJz2juifQ4ArgLgHmaJCQkU7N"
|
|
379
379
|
};
|
|
380
380
|
var fetchAirdropFee = async (distributorId, cluster = common.ICluster.Mainnet, fetchFn = fetch) => {
|
|
381
|
-
const baseUrl = cluster === common.ICluster.Mainnet ? "https://api.streamflow.finance" : "https://staging-api.streamflow.finance";
|
|
381
|
+
const baseUrl = cluster === common.ICluster.Mainnet ? "https://api-public.streamflow.finance" : "https://staging-api-public.streamflow.finance";
|
|
382
382
|
const url = `${baseUrl}/v2/api/airdrops/${encodeURIComponent(distributorId)}/fees`;
|
|
383
383
|
const res = await fetchFn(url, {
|
|
384
384
|
method: "GET",
|