Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@simbachain/simbats

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simbachain/simbats - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

dist/filehandler.js

@@ -26,8 +26,2 @@ "use strict";

const path = __importStar(require("path"));
const stream = __importStar(require("stream"));
const util_1 = require("util");
const finished = util_1.promisify(stream.finished);
// const pipeline = util.promisify(stream.pipeline);
// import {createGzip} from "zlib";
// const gzip = createGzip();
/**

@@ -34,0 +28,0 @@ * helps read file once we've found it

2

dist/simba_contract.d.ts

@@ -23,4 +23,4 @@ import { AxiosResponse } from "axios";

getBundleFile(bundleHash: string, fileName: string, downloadLocation: string): Promise<AxiosResponse<any> | Record<any, any> | void | unknown>;
getmanifestFromBundleHash(bundleHash: string): Promise<AxiosResponse<any> | Record<any, any> | void>;
getManifestFromBundleHash(bundleHash: string): Promise<AxiosResponse<any> | Record<any, any> | void>;
}
//# sourceMappingURL=simba_contract.d.ts.map

@@ -90,3 +90,3 @@ "use strict";

}
async getmanifestFromBundleHash(bundleHash) {
async getManifestFromBundleHash(bundleHash) {
const params = {

@@ -93,0 +93,0 @@ bundleHash,

{
"name": "@simbachain/simbats",
"version": "1.0.0",
"version": "1.0.1",
"description": "TypeScript SDK for SIMBA Chain",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -96,12 +96,12 @@ # SimbaTS

There are a few main objects that you'll want to use in your project:
- Simba
- Simba objects handle general interaction with the platform
- Simba objects can also be used to submit, call, and query methods of your deployed smart contracts
- SimbaContract
- SimbaContract objects are used specifically to interact with your deployed smart contracts
- SIMBA Chain contract method endopints are "async" by default. This term is overloaded here; what "async" means here is that hitting a default contract method, a response will be returned without waiting for additional details about the transaction
- SimbaSync
- SimbaSync is idential to Simba, except the contract object it instantiates through .getSimbaContract is an instance of SimbaContractSync instead of SimbaContract
- SimbaContractSync
- SimbaContractSync is identical to SimbaContract, except it hits contract method endpoints synchronously instead of asynchronously. That that means in this context is that contract method requests made using SimbaContractSync will call /sync/ endpoints for contract methods, which means that the response will not return immediately, but will return with more information on the transaction when it does return.
- Simba
- Simba objects handle general interaction with the platform
- Simba objects can also be used to submit, call, and query methods of your deployed smart contracts
- SimbaContract
- SimbaContract objects are used specifically to interact with your deployed smart contracts
- SIMBA Chain contract method endopints are "async" by default. This term is overloaded here; what "async" means here is that hitting a default contract method, a response will be returned without waiting for additional details about the transaction
- SimbaSync
- SimbaSync is idential to Simba, except the contract object it instantiates through .getSimbaContract is an instance of SimbaContractSync instead of SimbaContract
- SimbaContractSync
- SimbaContractSync is identical to SimbaContract, except it hits contract method endpoints synchronously instead of asynchronously. That that means in this context is that contract method requests made using SimbaContractSync will call /sync/ endpoints for contract methods, which means that the response will not return immediately, but will return with more information on the transaction when it does return.

@@ -108,0 +108,0 @@ The following sections provide examples of using the above objects, but we're also going to provide some example variables that are used throughout the examples, so that you can reference them when you see them in example method calls. So when you see a method call use the argument baseApiUrl, but you don't see it defined locally, know that it was defined previously, in the following variables, below.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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