magicbell-js

JavaScript/TypeScript SDK monorepo for MagicBell - The real-time notification inbox for web & mobile apps

OTHER License

Downloads
139.2K
Stars
28
Committers
19

Bot releases are hidden (Show)

magicbell-js - @magicbell/[email protected]

Published by MagicBella 10 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 10 months ago

Patch Changes

magicbell-js - [email protected]

Published by MagicBella 10 months ago

Minor Changes

  • #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',
    });
    

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 10 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 10 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - [email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Minor Changes

  • a044146 Thanks @smeijer! - only show cli help when invalid arguments were provided
magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

  • #215 bae9fe9 Thanks @renovate! - Updated dependencies:

    • updated @types/json-schema-merge-allof to ^0.6.5.
magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Patch Changes

magicbell-js - @magicbell/[email protected]

Published by MagicBella 11 months ago

Minor Changes

  • #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
    
Package Rankings
Top 4.27% on Npmjs.org
Related Projects