-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/v1.1.0: Add entry point that loads the right compiled library base on the running env Add serve package for samples run
- Loading branch information
Showing
9 changed files
with
341 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import AmqpClient from './protocols/amqpClient'; | ||
import AmqpStreamClient from './protocols/amqpStreamClient'; | ||
import MqttClient from './protocols/mqttClient'; | ||
import MqttStreamClient from './protocols/mqttStreamClient'; | ||
import StompClient from './protocols/stompClient'; | ||
import StompStreamClient from './protocols/stompStreamClient'; | ||
import { ISpaceBunnyParams } from './spacebunny'; | ||
export { AmqpClient as Client, AmqpClient, MqttClient, StompClient, AmqpStreamClient, AmqpStreamClient as StreamClient, MqttStreamClient, StompStreamClient, ISpaceBunnyParams }; |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* eslint-disable @typescript-eslint/no-unsafe-assignment */ | ||
// eslint-disable-next-line import/no-mutable-exports | ||
let spacebunny; | ||
if (typeof window === 'undefined') { | ||
// running in node | ||
spacebunny = require('./spacebunny'); | ||
} else { | ||
// running in the browser | ||
spacebunny = require('./spacebunny.var'); | ||
} | ||
|
||
module.exports = spacebunny; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.