Skip to content

Commit

Permalink
Remove "internal" code and folder (#462)
Browse files Browse the repository at this point in the history
* remove internal code and folder

* add changeset

* remove import
  • Loading branch information
edolix authored Mar 17, 2022
1 parent da4ef02 commit 4a918d5
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 349 deletions.
5 changes: 5 additions & 0 deletions .changeset/itchy-apples-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@signalwire/core': patch
---

[internal] Remove all the objects required for signalwire services
1 change: 0 additions & 1 deletion packages/core/src/BaseSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ export class BaseSession {

switch (payload.method) {
case 'signalwire.ping':
case 'blade.ping': // required for internal
return this._pingHandler(payload)
case 'signalwire.disconnect': {
/**
Expand Down
5 changes: 2 additions & 3 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
extendComponent,
validateEventsToSubscribe,
toInternalEventName,
serializeableProxy
serializeableProxy,
} from './utils'
import { BaseSession } from './BaseSession'
import { BaseJWTSession } from './BaseJWTSession'
Expand Down Expand Up @@ -52,7 +52,6 @@ export {
}

export * from './RPCMessages'
export * from './internal'
export * from './utils/interfaces'
export * from './types'
export * from './CustomErrors'
Expand All @@ -61,7 +60,7 @@ export type {
CustomSagaParams,
CustomSaga,
PubSubChannel,
MapToPubSubShape
MapToPubSubShape,
} from './redux/interfaces'
export * as actions from './redux/actions'
export * as sagaHelpers from './redux/utils/sagaHelpers'
Expand Down
109 changes: 0 additions & 109 deletions packages/core/src/internal/BaseBackendSession.ts

This file was deleted.

178 changes: 0 additions & 178 deletions packages/core/src/internal/InternalRPC.ts

This file was deleted.

29 changes: 0 additions & 29 deletions packages/core/src/internal/InternalRPCConnect.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/core/src/internal/InternalRPCExecute.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/core/src/internal/index.ts

This file was deleted.

Loading

0 comments on commit 4a918d5

Please sign in to comment.