New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@metaid/metaid

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metaid/metaid - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

4

dist/core/connector.d.ts
import { type MetaIDConnectWallet, type Transaction } from '../wallets/wallet.js';
import { TxComposer } from 'meta-contract';
import { type User } from '../../../../../../src/api.js';
import type { EntitySchema } from '../../../../../../src/metaid-entities/entity.js';
import { type User } from '../api.js';
import type { EntitySchema } from '../metaid-entities/entity.js';
export declare class Connector {

@@ -6,0 +6,0 @@ private _isConnected;

@@ -1,4 +0,4 @@

import { type User } from '../../../../../../src/api.js';
import { type User } from '../api.js';
import { Connector } from './connector.js';
import type { Transaction } from '../../../../../../src/wallets/wallet.js';
import { type Transaction } from '../wallets/wallet.js';
type Root = {

@@ -65,3 +65,3 @@ id: string;

};
likes: import('../../../../../../src/api.js').LikeItem[];
likes: import('../api.js').LikeItem[];
isFull: boolean;

@@ -68,0 +68,0 @@ }[];

@@ -1,3 +0,3 @@

import { type MetaIDConnectWallet } from '../../../../../../src/wallets/wallet.js';
import { Connector } from '../../../../../../src/core/connector.js';
import type { MetaIDConnectWallet } from '../wallets/wallet.js';
import { Connector } from '../core/connector.js';
export declare function connect(wallet?: MetaIDConnectWallet): Promise<Connector>;

@@ -1,6 +0,6 @@

import { Connector } from '../../../../../../src/core/connector.js';
import { Entity } from '../../../../../../src/core/entity.js';
import type { EntitySchema } from '../../../../../../src/metaid-entities/entity.js';
import { Connector } from '../core/connector.js';
import { Entity } from '../core/entity.js';
import { type EntitySchema } from '../metaid-entities/entity.js';
export declare function load(entitySchema: EntitySchema, options?: {
connector?: Connector;
}): Promise<Entity>;

@@ -1,5 +0,5 @@

import { Connector } from '../../../../../../src/core/connector.js';
import { Entity } from '../../../../../../src/core/entity.js';
import { Connector } from '../core/connector.js';
import { Entity } from '../core/entity.js';
export declare function use(entitySymbol: string, options?: {
connector?: Connector;
}): Promise<Entity>;

@@ -1,5 +0,5 @@

import { define } from '../../../../../src/factories/define.js';
import { use } from '../../../../../src/factories/use.js';
import { connect } from '../../../../../src/factories/connect.js';
import { LocalWallet } from '../../../../../src/wallets/local.js';
import { define } from './factories/define.js';
import { use } from './factories/use.js';
import { connect } from './factories/connect.js';
import { LocalWallet } from './wallets/local.js';
import { MetaletWallet } from './wallets/metalet.js';

@@ -6,0 +6,0 @@ import type { EntitySchema } from './metaid-entities/entity.js';

@@ -16,3 +16,3 @@ import { TxComposer } from 'meta-contract';

private getPrivatekey;
signInput({ txComposer, inputIndex, }: {
signInput({ txComposer, inputIndex }: {
txComposer: TxComposer;

@@ -27,3 +27,3 @@ inputIndex: number;

}>;
signMessage(message: string, encoding?: "utf-8" | "base64" | "hex" | "utf8"): Promise<string>;
signMessage(message: string, encoding?: 'utf-8' | 'base64' | 'hex' | 'utf8'): Promise<string>;
}

@@ -1,2 +0,2 @@

import { type MetaIDConnectWallet, type Transaction } from './wallet.js';
import type { MetaIDConnectWallet, Transaction } from './wallet.js';
import { TxComposer } from 'meta-contract';

@@ -3,0 +3,0 @@ export declare class MetaletWallet implements MetaIDConnectWallet {

{
"name": "@metaid/metaid",
"version": "0.2.2",
"version": "0.2.3",
"description": "MetaID is a library for MetaID protocol. It provides a set of functions to manage the DID document and the DID transaction.",

@@ -49,3 +49,3 @@ "type": "module",

"vite": "^4.4.11",
"vite-plugin-dts": "^3.6.0",
"vite-plugin-dts": "^3.6.3",
"vitest": "^0.34.6"

@@ -52,0 +52,0 @@ },

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

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