Skip to content

Commit

Permalink
fixed issue where mockInitialPayload was not being exported
Browse files Browse the repository at this point in the history
  • Loading branch information
wpdas committed Apr 11, 2023
1 parent 6384da0 commit bdbf450
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "near-social-bridge",
"version": "1.2.3",
"version": "1.2.4",
"description": "This library allows you to create a common application using ReactJS and inject it in a controlled way into a Widget on Near Social. Therefore, the Widget talks to the React application and vice versa, making it possible to consume Discovery API resources within the React application.",
"main": "./dist/cjs/index.js",
"module": "./index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export * from './navigation'

// for some reason, there's an issue when I try to use index.ts inside "request" folder
export { default as request } from './request/request'
export { createMock, setupMock, createMockUser, mockUser } from './request/mock'
export { createMock, setupMock, createMockUser, mockUser, mockInitialPayload } from './request/mock'

export * from './services'
export * from './session-storage'
Expand Down
4 changes: 4 additions & 0 deletions src/request/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import request from './request'
import { createMock, setupMock, createMockUser, mockUser, mockInitialPayload } from './mock'

export { request, createMock, setupMock, createMockUser, mockUser, mockInitialPayload }

0 comments on commit bdbf450

Please sign in to comment.