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

@0xsequence/indexer

Package Overview
Dependencies
Maintainers
5
Versions
451
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/indexer - npm Package Compare versions

Comparing version 0.36.4 to 0.36.5

11

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

@@ -241,5 +241,14 @@ 'use strict';

exports.SequenceIndexerServices = void 0;
(function (SequenceIndexerServices) {
SequenceIndexerServices["MAINNET"] = "https://mainnet-indexer.sequence.app";
SequenceIndexerServices["POLYGON"] = "https://polygon-indexer.sequence.app";
SequenceIndexerServices["RINKEBY"] = "https://rinkeby-indexer.sequence.app";
SequenceIndexerServices["POLYGON_MUMBAI"] = "https://mumbai-indexer.sequence.app";
})(exports.SequenceIndexerServices || (exports.SequenceIndexerServices = {}));
class SequenceIndexerClient extends Indexer {
constructor(hostname, jwtAuth) {
super(hostname, fetch__default["default"]);
super(hostname.endsWith('/') ? hostname.slice(0, -1) : hostname, fetch__default["default"]);
this.jwtAuth = jwtAuth;

@@ -246,0 +255,0 @@

@@ -241,5 +241,14 @@ 'use strict';

exports.SequenceIndexerServices = void 0;
(function (SequenceIndexerServices) {
SequenceIndexerServices["MAINNET"] = "https://mainnet-indexer.sequence.app";
SequenceIndexerServices["POLYGON"] = "https://polygon-indexer.sequence.app";
SequenceIndexerServices["RINKEBY"] = "https://rinkeby-indexer.sequence.app";
SequenceIndexerServices["POLYGON_MUMBAI"] = "https://mumbai-indexer.sequence.app";
})(exports.SequenceIndexerServices || (exports.SequenceIndexerServices = {}));
class SequenceIndexerClient extends Indexer {
constructor(hostname, jwtAuth) {
super(hostname, fetch__default["default"]);
super(hostname.endsWith('/') ? hostname.slice(0, -1) : hostname, fetch__default["default"]);
this.jwtAuth = jwtAuth;

@@ -246,0 +255,0 @@

@@ -233,5 +233,14 @@ import fetch from 'cross-fetch';

let SequenceIndexerServices;
(function (SequenceIndexerServices) {
SequenceIndexerServices["MAINNET"] = "https://mainnet-indexer.sequence.app";
SequenceIndexerServices["POLYGON"] = "https://polygon-indexer.sequence.app";
SequenceIndexerServices["RINKEBY"] = "https://rinkeby-indexer.sequence.app";
SequenceIndexerServices["POLYGON_MUMBAI"] = "https://mumbai-indexer.sequence.app";
})(SequenceIndexerServices || (SequenceIndexerServices = {}));
class SequenceIndexerClient extends Indexer {
constructor(hostname, jwtAuth) {
super(hostname, fetch);
super(hostname.endsWith('/') ? hostname.slice(0, -1) : hostname, fetch);
this.jwtAuth = jwtAuth;

@@ -258,2 +267,2 @@

export { ContractType, EventLogDataType, EventLogType, Indexer, SequenceIndexerClient, SortOrder, TxnTransferType, WebRPCSchemaHash, WebRPCSchemaVersion, WebRPCVersion };
export { ContractType, EventLogDataType, EventLogType, Indexer, SequenceIndexerClient, SequenceIndexerServices, SortOrder, TxnTransferType, WebRPCSchemaHash, WebRPCSchemaVersion, WebRPCVersion };
export * from './indexer.gen';
import { Indexer as BaseSequenceIndexer } from './indexer.gen';
export declare enum SequenceIndexerServices {
MAINNET = "https://mainnet-indexer.sequence.app",
POLYGON = "https://polygon-indexer.sequence.app",
RINKEBY = "https://rinkeby-indexer.sequence.app",
POLYGON_MUMBAI = "https://mumbai-indexer.sequence.app"
}
export declare class SequenceIndexerClient extends BaseSequenceIndexer {

@@ -4,0 +10,0 @@ jwtAuth?: string | undefined;

2

package.json
{
"name": "@0xsequence/indexer",
"version": "0.36.4",
"version": "0.36.5",
"description": "indexer sub-package for Sequence",

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

@@ -7,5 +7,13 @@ export * from './indexer.gen'

export enum SequenceIndexerServices {
MAINNET = 'https://mainnet-indexer.sequence.app',
POLYGON = 'https://polygon-indexer.sequence.app',
RINKEBY = 'https://rinkeby-indexer.sequence.app',
POLYGON_MUMBAI = 'https://mumbai-indexer.sequence.app'
}
export class SequenceIndexerClient extends BaseSequenceIndexer {
constructor(hostname: string, public jwtAuth?: string) {
super(hostname, fetch)
super(hostname.endsWith('/') ? hostname.slice(0, -1) : hostname, fetch)
this.fetch = this._fetch

@@ -12,0 +20,0 @@ }

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