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

@phala/typedefs

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phala/typedefs - npm Package Compare versions

Comparing version 0.1.5 to 0.2.0

288

dist/index.d.ts

@@ -147,2 +147,74 @@ import poc3 from './phala-poc3';

RawSolution: string;
EcdsaPublicKey: string;
WorkerPublicKey: string;
ContractPublicKey: string;
MessageOrigin: {
_enum: {
Pallet: string;
Contract: string;
Worker: string;
AccountId: string;
MultiLocation: string;
};
};
Attestation: {
_enum: {
SgxIas: {
raReport: string;
signature: string;
};
};
};
SenderId: string;
Path: string;
Topic: string;
Message: {
sender: string;
destination: string;
payload: string;
};
SignedMessage: {
message: string;
sequence: string;
signature: string;
};
MachineId: string;
PRuntimeInfo: {
version: string;
machine_id: string;
pubkey: string;
features: string;
};
PoolState: {
_enum: {
Ready: null;
Mining: null;
};
};
PoolInfo: {
owner: string;
cap: string;
commission: string;
state: string;
total_raised: string;
};
ProposalStatus: {
_enum: {
Initiated: null;
Approved: null;
Rejected: null;
};
};
ProposalVotes: {
votes_for: string;
votes_against: string;
status: string;
expiry: string;
};
Kitty: {
id: string;
dna: string;
price: string;
gen: string;
};
WorkerStateEnum: {

@@ -291,2 +363,74 @@ _enum: {

RawSolution: string;
EcdsaPublicKey: string;
WorkerPublicKey: string;
ContractPublicKey: string;
MessageOrigin: {
_enum: {
Pallet: string;
Contract: string;
Worker: string;
AccountId: string;
MultiLocation: string;
};
};
Attestation: {
_enum: {
SgxIas: {
raReport: string;
signature: string;
};
};
};
SenderId: string;
Path: string;
Topic: string;
Message: {
sender: string;
destination: string;
payload: string;
};
SignedMessage: {
message: string;
sequence: string;
signature: string;
};
MachineId: string;
PRuntimeInfo: {
version: string;
machine_id: string;
pubkey: string;
features: string;
};
PoolState: {
_enum: {
Ready: null;
Mining: null;
};
};
PoolInfo: {
owner: string;
cap: string;
commission: string;
state: string;
total_raised: string;
};
ProposalStatus: {
_enum: {
Initiated: null;
Approved: null;
Rejected: null;
};
};
ProposalVotes: {
votes_for: string;
votes_against: string;
status: string;
expiry: string;
};
Kitty: {
id: string;
dna: string;
price: string;
gen: string;
};
WorkerStateEnum: {

@@ -364,2 +508,74 @@ _enum: {

RawSolution: string;
EcdsaPublicKey: string;
WorkerPublicKey: string;
ContractPublicKey: string;
MessageOrigin: {
_enum: {
Pallet: string;
Contract: string;
Worker: string;
AccountId: string;
MultiLocation: string;
};
};
Attestation: {
_enum: {
SgxIas: {
raReport: string;
signature: string;
};
};
};
SenderId: string;
Path: string;
Topic: string;
Message: {
sender: string;
destination: string;
payload: string;
};
SignedMessage: {
message: string;
sequence: string;
signature: string;
};
MachineId: string;
PRuntimeInfo: {
version: string;
machine_id: string;
pubkey: string;
features: string;
};
PoolState: {
_enum: {
Ready: null;
Mining: null;
};
};
PoolInfo: {
owner: string;
cap: string;
commission: string;
state: string;
total_raised: string;
};
ProposalStatus: {
_enum: {
Initiated: null;
Approved: null;
Rejected: null;
};
};
ProposalVotes: {
votes_for: string;
votes_against: string;
status: string;
expiry: string;
};
Kitty: {
id: string;
dna: string;
price: string;
gen: string;
};
WorkerStateEnum: {

@@ -437,2 +653,74 @@ _enum: {

RawSolution: string;
EcdsaPublicKey: string;
WorkerPublicKey: string;
ContractPublicKey: string;
MessageOrigin: {
_enum: {
Pallet: string;
Contract: string;
Worker: string;
AccountId: string;
MultiLocation: string;
};
};
Attestation: {
_enum: {
SgxIas: {
raReport: string;
signature: string;
};
};
};
SenderId: string;
Path: string;
Topic: string;
Message: {
sender: string;
destination: string;
payload: string;
};
SignedMessage: {
message: string;
sequence: string;
signature: string;
};
MachineId: string;
PRuntimeInfo: {
version: string;
machine_id: string;
pubkey: string;
features: string;
};
PoolState: {
_enum: {
Ready: null;
Mining: null;
};
};
PoolInfo: {
owner: string;
cap: string;
commission: string;
state: string;
total_raised: string;
};
ProposalStatus: {
_enum: {
Initiated: null;
Approved: null;
Rejected: null;
};
};
ProposalVotes: {
votes_for: string;
votes_against: string;
status: string;
expiry: string;
};
Kitty: {
id: string;
dna: string;
price: string;
gen: string;
};
WorkerStateEnum: {

@@ -439,0 +727,0 @@ _enum: {

@@ -9,2 +9,74 @@ declare const _default: {

RawSolution: string;
EcdsaPublicKey: string;
WorkerPublicKey: string;
ContractPublicKey: string;
MessageOrigin: {
_enum: {
Pallet: string;
Contract: string;
Worker: string;
AccountId: string;
MultiLocation: string;
};
};
Attestation: {
_enum: {
SgxIas: {
raReport: string;
signature: string;
};
};
};
SenderId: string;
Path: string;
Topic: string;
Message: {
sender: string;
destination: string;
payload: string;
};
SignedMessage: {
message: string;
sequence: string;
signature: string;
};
MachineId: string;
PRuntimeInfo: {
version: string;
machine_id: string;
pubkey: string;
features: string;
};
PoolState: {
_enum: {
Ready: null;
Mining: null;
};
};
PoolInfo: {
owner: string;
cap: string;
commission: string;
state: string;
total_raised: string;
};
ProposalStatus: {
_enum: {
Initiated: null;
Approved: null;
Rejected: null;
};
};
ProposalVotes: {
votes_for: string;
votes_against: string;
status: string;
expiry: string;
};
Kitty: {
id: string;
dna: string;
price: string;
gen: string;
};
WorkerStateEnum: {

@@ -11,0 +83,0 @@ _enum: {

@@ -12,2 +12,74 @@ "use strict";

"RawSolution": "RawSolutionWith24",
"EcdsaPublicKey": "[u8; 33]",
"WorkerPublicKey": "EcdsaPublicKey",
"ContractPublicKey": "EcdsaPublicKey",
"MessageOrigin": {
"_enum": {
"Pallet": "Vec<u8>",
"Contract": "H256",
"Worker": "EcdsaPublicKey",
"AccountId": "H256",
"MultiLocation": "Vec<u8>"
}
},
"Attestation": {
"_enum": {
"SgxIas": {
"raReport": "Vec<u8>",
"signature": "Vec<u8>"
}
}
},
"SenderId": "MessageOrigin",
"Path": "Vec<u8>",
"Topic": "Path",
"Message": {
"sender": "SenderId",
"destination": "Topic",
"payload": "Vec<u8>"
},
"SignedMessage": {
"message": "Message",
"sequence": "u64",
"signature": "Vec<u8>"
},
"MachineId": "[u8; 16]",
"PRuntimeInfo": {
"version": "u32",
"machine_id": "MachineId",
"pubkey": "WorkerPublicKey",
"features": "Vec<u32>"
},
"PoolState": {
"_enum": {
"Ready": null,
"Mining": null
}
},
"PoolInfo": {
"owner": "AccountId",
"cap": "Option<Balance>",
"commission": "Permill",
"state": "PoolState",
"total_raised": "Balance"
},
"ProposalStatus": {
"_enum": {
"Initiated": null,
"Approved": null,
"Rejected": null
}
},
"ProposalVotes": {
"votes_for": "Vec<AccountId>",
"votes_against": "Vec<AccountId>",
"status": "ProposalStatus",
"expiry": "BlockNumber"
},
"Kitty": {
"id": "Hash",
"dna": "Hash",
"price": "Balance",
"gen": "u64"
},
"WorkerStateEnum": {

@@ -14,0 +86,0 @@ "_enum": {

2

package.json
{
"name": "@phala/typedefs",
"version": "0.1.5",
"version": "0.2.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

Sorry, the diff of this file is not supported yet

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