8.1.1 • Published 3 months ago

@toruslabs/http-helpers v8.1.1

Weekly downloads
456
License
MIT
Repository
github
Last release
3 months ago

Http helpers

npm version npm

Introduction

  • This package allows you to call http methods with pre defined configs. Uses fetch or node-fetch internally
  • Adds support for api keys
  • Works in both browser and node.js environments

Installation

Bundling

This module is distributed in 3 formats

  • lib.esm build dist/lib.esm/index.js in es6 format
  • lib.cjs build dist/lib.cjs/index.js in es5 format
  • umd build dist/httpHelpers.umd.min.js in es5 format without polyfilling corejs minified

By default, the appropriate format is used for your specified usecase You can use a different format (if you know what you're doing eg. node) by referencing the correct file

Directly in Browser

CDN's serve the non-core-js polyfilled version by default. You can use a different

jsdeliver

<script src="https://cdn.jsdelivr.net/npm/@toruslabs/http-helpers"></script>

unpkg

<script src="https://unpkg.com/@toruslabs/http-helpers"></script>

Usage

Add @toruslabs/http-helpers to your project:

import { get, post } from "@toruslabs/http-helpers";
const { get, post } = require("@toruslabs/http-helpers").default;

Requirements

  • This package requires a peer dependency of @babel/runtime
  • Node 20+
@lilpacy/torus-embed@toniq-labs/openlogin@alex-tiplink/dangerous-embed@everything-registry/sub-chunk-927torus-embed-kaizoku-test-1torus-mpc@biuauth/ethereum-provider@biuauth/ui@cere/torus-embed@accesschains/accesschains.js@coinbrix/customauthsingularity@guru_test/safe-snap@meomeocoj/share-transfer@meomeocoj/storage-layer-torus@meomeocoj/torus.js@meomeocoj/core@meomeocoj/customauth@jordiamez/base@jordiamez/ui@oraichain/customauth@oraichain/multifactors.js@oraichain/only-social-key@oraichain/core@oraichain/share-transfer@oraichain/storage-layer-orai@oraichain/storage-layer-torus@oraichain/torus.js@oraichain/authsingularity-torussingularity-torus.jssingularity-custom-auth-pluginsingularity-custom-authentication-pluginsingularity-fetch-node-details@wallet-sdk-demo/base@wallet-sdk-demo/ethereum-provider@wallet-sdk-demo/ui@web3auth/ui@web3auth/react-native-sdk@web3auth-mpc/ui@web3auth/base@web3auth/ethereum-provider@web3auth-mpc/base@web3auth-mpc/ethereum-provider@web3auth-mpc/openlogin-adapter@web3auth/mpc-core-kit@web3auth/mpc-passkey-plugin@web3auth/mpc-remote-signer-plugin@web3auth/passkeys-sfa-plugin@tkey-mpc/core@tkey-mpc/share-transfer@tkey-mpc/storage-layer-torus@tkey-singularity/core@tkey/core@tkey/share-transfer@tkey/storage-layer-torus@tkey/tss@tkey-singularity/storage-layer-torus@tkey-singularity/share-transfer@thresholdkey/share-transfer@thresholdkey/storage-layer-torus@thresholdkey/torus.js@thresholdkey/core@thresholdkey/customauth@toruslabs/torus-direct-web-sdk@toruslabs/torus-embed@toruslabs/xrpl-controllers@toruslabs/torus.js@toruslabs/solana-embed@toruslabs/xrpl-embed@toruslabs/ethereum-controllers@toruslabs/fetch-node-details@toruslabs/metadata-helpers@toruslabs/openlogin-mpc@toruslabs/rss-client@toruslabs/secure-pub-sub@toruslabs/session-manager@toruslabs/solana-controllers@toruslabs/casper-embed@toruslabs/customauth@toruslabs/base-controllers@toruslabs/base-session-manager@treasure-chess/torus-direct-web-sdk@treasure-chess/torus.js@upbond/customauth@upbond/upbond-embed@tainguyentt/base-controllers@tainguyentt/ethereum-controllers@tainguyentt/solana-controllerscustomauth-singularitybiuauthui
8.1.0

3 months ago

8.1.1

3 months ago

8.0.1

4 months ago

8.0.2

4 months ago

8.0.0

5 months ago

7.0.1

5 months ago

7.0.0

1 year ago

6.1.1

1 year ago

6.1.0

1 year ago

6.0.0

2 years ago

5.0.0

2 years ago

4.0.0

2 years ago

3.4.0

2 years ago

3.3.0

2 years ago

3.2.0

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.2.0

3 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.4.0

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago