Skip to content

Commit

Permalink
Merge pull request #687 from locothedev/update/streamsBaseUrl
Browse files Browse the repository at this point in the history
Update/streams base url
  • Loading branch information
sogunshola authored Sep 19, 2022
2 parents 1097e66 + ef1121d commit ba02287
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-numbers-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@moralisweb3/streams': patch
---

update base url
2 changes: 1 addition & 1 deletion packages/integration/mockRequests/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const MOCK_API_KEY = 'test-api-key';
export const EVM_API_ROOT = 'https://deep-index.moralis.io/api/v2';
export const SOL_API_ROOT = 'https://solana-gateway.moralis.io';
export const STREAM_API_ROOT = 'https://streams-api.aws-prod-streams-master-1.moralis.io';
export const STREAM_API_ROOT = 'https://api.moralis-streams.com';
2 changes: 1 addition & 1 deletion packages/streams/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:watch": "yarn run test --watch",
"lint": "eslint . --ext .js,.ts,.tsx,jsx",
"clean": "rm -rf lib && rm -rf tsconfig.tsbuildinfo && rm -rf ./node_modules/.cache/nx",
"gen:api-types": "openapi-typescript https://streams-api.aws-prod-streams-master-1.moralis.io/api-docs/swagger.json --output src/generated/types.ts",
"gen:api-types": "openapi-typescript https://api.moralis-streams.com/api-docs/swagger.json --output src/generated/types.ts",
"build": "tsc",
"dev": "tsc --watch"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/streams/src/MoralisStreams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getHistory } from './resolvers/getHistory';
import { replayHistory } from './resolvers/replayHistory';
import { updateStreamStatus, UpdateStreamStatusOptions } from './methods/updateStatus';

export const BASE_URL = 'https://streams-api.aws-prod-streams-master-1.moralis.io';
export const BASE_URL = 'https://api.moralis-streams.com';

export class MoralisStreams extends ApiModule {
public static readonly moduleName = 'streams';
Expand Down

0 comments on commit ba02287

Please sign in to comment.