Socket
Socket
Sign inDemoInstall

@radixdlt/babylon-core-api-sdk

Package Overview
Dependencies
Maintainers
6
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radixdlt/babylon-core-api-sdk - npm Package Compare versions

Comparing version 0.1.1-rcnet-1.1 to 0.1.2-rcnet-1.1

5

package.json
{
"name": "@radixdlt/babylon-core-api-sdk",
"version": "0.1.1-rcnet-1.1",
"version": "0.1.2-rcnet-1.1",
"license": "Apache-2.0",

@@ -17,3 +17,4 @@ "homepage": "https://github.com/radixdlt/babylon-node/tree/main/sdk/typescript/",

},
"types": "./dist/index.d.ts",
"description": "A client for the RadixDLT Babylon Core API",
"types": "./dist/lib/index.d.ts",
"scripts": {

@@ -20,0 +21,0 @@ "dev": "vite serve sandbox",

13

README.md

@@ -9,2 +9,6 @@ # Core API SDK

## End-to-end examples
See [here for a full end-to-end example working with the TypeScript Radix Engine Toolkit](https://github.com/radixdlt/typescript-radix-engine-toolkit/tree/main/examples/core-e2e-example).
## Client creation

@@ -14,2 +18,5 @@

* If in an environment where `fetch` is not available, a polyfill must be used (see eg [node-fetch](https://www.npmjs.com/package/node-fetch)).
If using node you will likely want to add the following dependencies:
* `node-fetch` version `^2.7.3` (as `3.x` can only be imported as an ESModule).
* `@types/node-fetch` version `^2.6.3`
* If in a browser, pass `window.fetch` into the `fetch` parameter.

@@ -20,5 +27,5 @@

```typescript
import fetch from "node-fetch" // Optional polyfill for fetch required if running in nodeJS
import http from 'node:http';
import https from 'node:http';
import fetch from "node-fetch" // Optional polyfill for fetch required if running in nodeJS - we recommend version 2.7.3
import http from "node:http";
import https from "node:http";
import { CoreApiClient} from "@radixdlt/babylon-core-api-sdk";

@@ -25,0 +32,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc