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

@endo/marshal

Package Overview
Dependencies
Maintainers
4
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@endo/marshal - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

### [0.6.4](https://github.com/endojs/endo/compare/@endo/marshal@0.6.3...@endo/marshal@0.6.4) (2022-04-12)
### Features
* **marshal:** stamp Remotable return with `RemotableBrand<L,R>` ([8b9b8fd](https://github.com/endojs/endo/commit/8b9b8fd9b1f40c22b1b9ddef46569db81dd7bff6))
### [0.6.3](https://github.com/endojs/endo/compare/@endo/marshal@0.6.2...@endo/marshal@0.6.3) (2022-03-07)

@@ -8,0 +17,0 @@

14

package.json
{
"name": "@endo/marshal",
"version": "0.6.3",
"version": "0.6.4",
"description": "marshal",

@@ -40,9 +40,9 @@ "type": "module",

"dependencies": {
"@endo/eventual-send": "^0.14.8",
"@endo/nat": "^4.1.8",
"@endo/promise-kit": "^0.2.37"
"@endo/eventual-send": "^0.15.0",
"@endo/nat": "^4.1.9",
"@endo/promise-kit": "^0.2.38"
},
"devDependencies": {
"@endo/lockdown": "^0.1.9",
"@endo/ses-ava": "^0.2.21",
"@endo/lockdown": "^0.1.10",
"@endo/ses-ava": "^0.2.22",
"ava": "^3.12.1",

@@ -78,3 +78,3 @@ "c8": "^7.7.3"

},
"gitHead": "9ddd58b4a26755cdba9403b0cb042b2067c69832"
"gitHead": "59e511891ab67f4fa52d67141510974e22362134"
}

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

export function Remotable<T>(iface?: string | undefined, props?: undefined, remotable?: T | undefined): T & {
__Remote__: T;
};
export function Far<T>(farName: string, remotable?: T | undefined): T & {
__Remote__: T;
};
export function Remotable<T>(iface?: string | undefined, props?: undefined, remotable?: T | undefined): T & import("@endo/eventual-send").RemotableBrand<{}, T>;
export function Far<T>(farName: string, remotable?: T | undefined): T & import("@endo/eventual-send").RemotableBrand<{}, T>;
export function ToFarFunction(farName: string, func: (...args: any[]) => any): (...args: any[]) => any;
export type InterfaceSpec = import('./types.js').InterfaceSpec;
export type RemotableBrand<L, R> = import('@endo/eventual-send').RemotableBrand<L, R>;
//# sourceMappingURL=make-far.d.ts.map

@@ -13,2 +13,3 @@ // @ts-check

/** @typedef {import('./types.js').InterfaceSpec} InterfaceSpec */
/** @template L,R @typedef {import('@endo/eventual-send').RemotableBrand<L, R>} RemotableBrand */

@@ -88,3 +89,3 @@ const { quote: q, details: X } = assert;

* @param {T} [remotable={}] The object used as the remotable
* @returns {T & { __Remote__: T }} remotable, modified for debuggability
* @returns {T & RemotableBrand<{}, T>} remotable, modified for debuggability
*/

@@ -134,3 +135,3 @@ export const Remotable = (

assert(iface !== undefined); // To make TypeScript happy
return /** @type {T & { __Remote__: T }} */ (remotable);
return /** @type {T & RemotableBrand<{}, T>} */ (remotable);
};

@@ -137,0 +138,0 @@ harden(Remotable);

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