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

@0xsequence/api

Package Overview
Dependencies
Maintainers
4
Versions
496
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/api - npm Package Compare versions

Comparing version 0.16.0 to 0.16.1

6

CHANGELOG.md
# @0xsequence/api
## 0.16.1
### Patch Changes
- api: add legacy types for bw compat
## 0.16.0

@@ -4,0 +10,0 @@

14

dist/0xsequence-api.cjs.dev.js

@@ -30,3 +30,3 @@ 'use strict';

/* eslint-disable */
// arcadeum-api v0.3.0 42f1501b2901cf36d82789289ab881b148dee1ca
// arcadeum-api v0.3.0 12f4f60c61cbc0af159f1e4bbbe69dab562578ac
// --

@@ -40,3 +40,3 @@ // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript

const WebRPCSchemaHash = "42f1501b2901cf36d82789289ab881b148dee1ca"; //
const WebRPCSchemaHash = "12f4f60c61cbc0af159f1e4bbbe69dab562578ac"; //
// Types

@@ -118,2 +118,12 @@ //

exports.OrderStatus = void 0;
(function (OrderStatus) {
OrderStatus["UNKNOWN"] = "UNKNOWN";
OrderStatus["FAILED"] = "FAILED";
OrderStatus["PENDING"] = "PENDING";
OrderStatus["SUCCESS"] = "SUCCESS";
OrderStatus["FINAL"] = "FINAL";
})(exports.OrderStatus || (exports.OrderStatus = {}));
exports.SortOrder = void 0;

@@ -120,0 +130,0 @@

@@ -30,3 +30,3 @@ 'use strict';

/* eslint-disable */
// arcadeum-api v0.3.0 42f1501b2901cf36d82789289ab881b148dee1ca
// arcadeum-api v0.3.0 12f4f60c61cbc0af159f1e4bbbe69dab562578ac
// --

@@ -40,3 +40,3 @@ // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript

const WebRPCSchemaHash = "42f1501b2901cf36d82789289ab881b148dee1ca"; //
const WebRPCSchemaHash = "12f4f60c61cbc0af159f1e4bbbe69dab562578ac"; //
// Types

@@ -118,2 +118,12 @@ //

exports.OrderStatus = void 0;
(function (OrderStatus) {
OrderStatus["UNKNOWN"] = "UNKNOWN";
OrderStatus["FAILED"] = "FAILED";
OrderStatus["PENDING"] = "PENDING";
OrderStatus["SUCCESS"] = "SUCCESS";
OrderStatus["FINAL"] = "FINAL";
})(exports.OrderStatus || (exports.OrderStatus = {}));
exports.SortOrder = void 0;

@@ -120,0 +130,0 @@

@@ -22,3 +22,3 @@ import fetch from 'cross-fetch';

/* eslint-disable */
// arcadeum-api v0.3.0 42f1501b2901cf36d82789289ab881b148dee1ca
// arcadeum-api v0.3.0 12f4f60c61cbc0af159f1e4bbbe69dab562578ac
// --

@@ -32,3 +32,3 @@ // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript

const WebRPCSchemaHash = "42f1501b2901cf36d82789289ab881b148dee1ca"; //
const WebRPCSchemaHash = "12f4f60c61cbc0af159f1e4bbbe69dab562578ac"; //
// Types

@@ -110,2 +110,12 @@ //

let OrderStatus;
(function (OrderStatus) {
OrderStatus["UNKNOWN"] = "UNKNOWN";
OrderStatus["FAILED"] = "FAILED";
OrderStatus["PENDING"] = "PENDING";
OrderStatus["SUCCESS"] = "SUCCESS";
OrderStatus["FINAL"] = "FINAL";
})(OrderStatus || (OrderStatus = {}));
let SortOrder;

@@ -587,2 +597,2 @@

export { ArcadeumAPI, ArcadeumAPIClient, ChainStateProp, ContractCategory, ContractType, ETHNetwork, ETHTxnStatus, EventLogType, OrderType, SortOrder, TransferType, WebRPCSchemaHash, WebRPCSchemaVersion, WebRPCVersion };
export { ArcadeumAPI, ArcadeumAPIClient, ChainStateProp, ContractCategory, ContractType, ETHNetwork, ETHTxnStatus, EventLogType, OrderStatus, OrderType, SortOrder, TransferType, WebRPCSchemaHash, WebRPCSchemaVersion, WebRPCVersion };
export declare const WebRPCVersion = "v1";
export declare const WebRPCSchemaVersion = "v0.3.0";
export declare const WebRPCSchemaHash = "42f1501b2901cf36d82789289ab881b148dee1ca";
export declare const WebRPCSchemaHash = "12f4f60c61cbc0af159f1e4bbbe69dab562578ac";
export declare enum ChainStateProp {

@@ -56,2 +56,9 @@ UNKNOWN = "UNKNOWN",

}
export declare enum OrderStatus {
UNKNOWN = "UNKNOWN",
FAILED = "FAILED",
PENDING = "PENDING",
SUCCESS = "SUCCESS",
FINAL = "FINAL"
}
export declare enum SortOrder {

@@ -204,2 +211,30 @@ DESC = "DESC",

}
export interface Order {
orderID?: string;
txnHash?: string;
txnNonce?: string;
metaTxnID?: string;
txnStatus: ETHTxnStatus;
txnReceipt?: {
[key: string]: any;
};
txnRevertReason: string;
accountAddress: string;
shopContractAddress: string;
assetContractAddress: string;
baseContractAddress: string;
orderType: OrderType;
orderStatus: OrderStatus;
tokenIds: Array<string>;
amounts: Array<string>;
unitPrices: Array<string>;
subtotalPrice: string;
metatxFee: string;
brokerFee: string;
totalPrice: string;
gasUsed: number;
gasFeeWei: string;
updatedAt: string;
createdAt: string;
}
export interface MetaTxLog {

@@ -206,0 +241,0 @@ id: number;

2

package.json
{
"name": "@0xsequence/api",
"version": "0.16.0",
"version": "0.16.1",
"description": "api sub-package for Sequence",

@@ -5,0 +5,0 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/api",

/* eslint-disable */
// arcadeum-api v0.3.0 42f1501b2901cf36d82789289ab881b148dee1ca
// arcadeum-api v0.3.0 12f4f60c61cbc0af159f1e4bbbe69dab562578ac
// --

@@ -14,3 +14,3 @@ // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript

// Schema hash generated from your RIDL schema
export const WebRPCSchemaHash = "42f1501b2901cf36d82789289ab881b148dee1ca"
export const WebRPCSchemaHash = "12f4f60c61cbc0af159f1e4bbbe69dab562578ac"

@@ -80,2 +80,10 @@

export enum OrderStatus {
UNKNOWN = 'UNKNOWN',
FAILED = 'FAILED',
PENDING = 'PENDING',
SUCCESS = 'SUCCESS',
FINAL = 'FINAL'
}
export enum SortOrder {

@@ -246,2 +254,30 @@ DESC = 'DESC',

export interface Order {
orderID?: string
txnHash?: string
txnNonce?: string
metaTxnID?: string
txnStatus: ETHTxnStatus
txnReceipt?: {[key: string]: any}
txnRevertReason: string
accountAddress: string
shopContractAddress: string
assetContractAddress: string
baseContractAddress: string
orderType: OrderType
orderStatus: OrderStatus
tokenIds: Array<string>
amounts: Array<string>
unitPrices: Array<string>
subtotalPrice: string
metatxFee: string
brokerFee: string
totalPrice: string
gasUsed: number
gasFeeWei: string
updatedAt: string
createdAt: string
}
export interface MetaTxLog {

@@ -248,0 +284,0 @@ id: number

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