JavaScript/TypeScript SDK monorepo for MagicBell - The real-time notification inbox for web & mobile apps
OTHER License
Bot releases are hidden (Show)
Published by MagicBella 10 months ago
Published by MagicBella 10 months ago
681ed7b
Thanks @renovate[bot]! - Updated dependencies:
react-use
to ^17.4.2
.fdb6953
Thanks @renovate[bot]! - Updated dependencies:
tinycolor2
to ^1.6.0
.Updated dependencies []:
Published by MagicBella 10 months ago
#233 8bee76e
Thanks @smeijer! - Add support for nested paths in host
option.
import { ProjectClient } from 'magicbell/project-client';
const magicbell = new ProjectClient({
apiKey: 'your-api-key',
apiSecret: 'your-api-secret',
host: 'https://example.com/api/mocks/magicbell',
});
1041cdf
Thanks @renovate[bot]! - Updated dependencies:
json-schema-to-ts
to 2.9.2
.Published by MagicBella 10 months ago
a344f04
Thanks @renovate[bot]! - Updated dependencies:
preact
to ^10.19.2
.681ed7b
Thanks @renovate[bot]! - Updated dependencies:
react-use
to ^17.4.2
.Updated dependencies [681ed7b
, fdb6953
]:
Published by MagicBella 10 months ago
Published by MagicBella 11 months ago
1ed7ce5
Thanks @renovate[bot]! - Updated dependencies:
@size-limit/preset-small-lib
to ^8.2.6
.aa44b32
Thanks @renovate[bot]! - Updated dependencies:
@types/react
to ^18.2.39
.@types/react-dom
to ^18.2.17
.react
to >= 16.14.0
.184de06
Thanks @renovate[bot]! - Updated dependencies:
size-limit
to ^8.2.6
.8649b12
Thanks @renovate[bot]! - Updated dependencies:
babel-loader
to ^8.3.0
.Published by MagicBella 11 months ago
1ed7ce5
Thanks @renovate[bot]! - Updated dependencies:
@size-limit/preset-small-lib
to ^8.2.6
.5a3443f
Thanks @renovate[bot]! - Updated dependencies:
openapi-types
to ^12.1.3
.33d2cab
Thanks @renovate[bot]! - Updated dependencies:
tsx
to ^3.14.0
.#222 444e653
Thanks @renovate! - Updated dependencies:
recast
to ^0.23.4
.Published by MagicBella 11 months ago
1ed7ce5
Thanks @renovate[bot]! - Updated dependencies:
@size-limit/preset-small-lib
to ^8.2.6
.aa44b32
Thanks @renovate[bot]! - Updated dependencies:
@types/react
to ^18.2.39
.@types/react-dom
to ^18.2.17
.react
to >= 16.14.0
.#223 ec0fb02
Thanks @renovate! - Updated dependencies:
typescript
to ^4.9.5
.184de06
Thanks @renovate[bot]! - Updated dependencies:
size-limit
to ^8.2.6
.7dbb225
Thanks @renovate[bot]! - Updated dependencies:
@babel/core
to ^7.23.5
.ab7782a
Thanks @renovate[bot]! - Updated dependencies:
react-use
to ^17.4.1
.Updated dependencies [1ed7ce5
, aa44b32
, 184de06
, 8649b12
]:
Published by MagicBella 11 months ago
5a3443f
Thanks @renovate[bot]! - Updated dependencies:
openapi-types
to ^12.1.3
.#222 444e653
Thanks @renovate! - Updated dependencies:
recast
to ^0.23.4
.Published by MagicBella 11 months ago
59f5479
Thanks @renovate[bot]! - Updated dependencies:
start-server-and-test
to ^1.15.4
.41b577c
Thanks @renovate[bot]! - Updated dependencies:
cypress
to 8.7.0
.ab7782a
Thanks @renovate[bot]! - Updated dependencies:
react-use
to ^17.4.1
.1941a44
Thanks @renovate[bot]! - Updated dependencies:
node
to >=12.22.12
.Updated dependencies [1ed7ce5
, aa44b32
, ec0fb02
, 184de06
, 7dbb225
, ab7782a
]:
Published by MagicBella 11 months ago
33d2cab
Thanks @renovate[bot]! - Updated dependencies:
tsx
to ^3.14.0
Published by MagicBella 11 months ago
f3c4ce3
Thanks @renovate[bot]! - Updated dependencies:
ably
to ^1.2.48
.Published by MagicBella 11 months ago
Published by MagicBella 11 months ago
Published by MagicBella 11 months ago
9be10f5
, d29b034
]:
Published by MagicBella 11 months ago
9be10f5
Thanks @renovate[bot]! - Updated dependencies:
@types/lodash
to ^4.14.202
.d29b034
Thanks @renovate[bot]! - Updated dependencies:
rosie
to ^2.1.1
.Published by MagicBella 11 months ago
Published by MagicBella 11 months ago
9be10f5
Thanks @renovate[bot]! - Updated dependencies:
@types/lodash
to ^4.14.202
.d29b034
Thanks @renovate[bot]! - Updated dependencies:
rosie
to ^2.1.1
.Updated dependencies [9be10f5
, d29b034
]:
Published by MagicBella 11 months ago
#216 6b97a7c
Thanks @renovate! - Updated dependencies:
miragejs
to ^0.1.48
.9be10f5
Thanks @renovate[bot]! - Updated dependencies:
@types/lodash
to ^4.14.202
.d29b034
Thanks @renovate[bot]! - Updated dependencies:
rosie
to ^2.1.1
.Published by MagicBella 11 months ago
#218 943a52b
Thanks @smeijer! - Add magicbell api
method to make an authenticated HTTP request to the MagicBell API and print the response. This will be useful for debugging purposes or advanced users, though other existing commands are recommended for day-to-day use.
Examples
magicbell api broadcasts --data @broadcast.json
magicbell api broadcasts --data '{ broadcast: { title: "Hello World" } }' -i
magicbell api broadcasts -f 'broadcast={ title: "Hello World" }' -s
All options:
Arguments
endpoint The API path to request
Options
-H, --header <string...> Add a HTTP request header in key:value format
-X, --method <string> The HTTP method for the request (default "POST" when data is provided, "GET"
otherwise)
-d, --data <string> HTTP POST data (can also come from stdin)
-f, --field <string...> Add a field parameter in key=value format
-i, --include Include HTTP response status line and headers in the output
-s, --silent Do not print the response body