Comparing version 0.1.8 to 0.1.9
@@ -6,2 +6,11 @@ # Change Log | ||
### [0.1.9](https://github.com/endojs/endo/compare/@endo/far@0.1.8...@endo/far@0.1.9) (2022-03-07) | ||
### Features | ||
* **far:** export `Remote<Primary, Local>` ([f406cb6](https://github.com/endojs/endo/commit/f406cb6b8658d457fdfda20c71ff844a8eea8112)) | ||
### [0.1.8](https://github.com/endojs/endo/compare/@endo/far@0.1.7...@endo/far@0.1.8) (2022-03-02) | ||
@@ -8,0 +17,0 @@ |
{ | ||
"name": "@endo/far", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Helpers for distributed objects.", | ||
@@ -29,8 +29,8 @@ "type": "module", | ||
"dependencies": { | ||
"@endo/eventual-send": "^0.14.7", | ||
"@endo/marshal": "^0.6.2" | ||
"@endo/eventual-send": "^0.14.8", | ||
"@endo/marshal": "^0.6.3" | ||
}, | ||
"devDependencies": { | ||
"@endo/init": "^0.5.36", | ||
"@endo/ses-ava": "^0.2.20", | ||
"@endo/init": "^0.5.37", | ||
"@endo/ses-ava": "^0.2.21", | ||
"ava": "^3.12.1", | ||
@@ -71,3 +71,3 @@ "c8": "^7.7.3" | ||
}, | ||
"gitHead": "08973d4fc6358a58d733251b051b2812bb4c651a" | ||
"gitHead": "9ddd58b4a26755cdba9403b0cb042b2067c69832" | ||
} |
@@ -5,7 +5,17 @@ export { E } from '@endo/eventual-send'; | ||
/** | ||
* @template Primary | ||
* @template [Local=import('@endo/eventual-send').DataOnly<Primary>] | ||
* @typedef {import('@endo/eventual-send').Remote<Primary, Local>} Remote | ||
* Declare an object that is potentially a far reference of type Primary whose | ||
* near reference has type Local. This should be used only for arguments and | ||
* declarations; the only creators of Remote values are distributed object | ||
* creator components like the `Far` or `Remotable` functions. | ||
*/ | ||
/** | ||
* @template T | ||
* @typedef {import('@endo/eventual-send').ERef<T>} ERef | ||
* Declare that `T` can be either a near or far reference. This should be used | ||
* only for arguments and declarations; return values should specifically be | ||
* `Promise<T>` or `T` itself. | ||
* Declare that `T` may or may not be a Promise. This should be used only for | ||
* arguments and declarations; return values should specifically be `Promise<T>` | ||
* or `T` itself. | ||
*/ | ||
@@ -16,5 +26,5 @@ | ||
* @typedef {import('@endo/eventual-send').EOnly<T>} EOnly | ||
* A type that must only be invoked with E. It supports the `T` interface | ||
* interface but additionally permits functions to return `PromiseLike`s even if | ||
* `T` declares them as only synchronous. | ||
* Declare a near object that must only be invoked with E, even locally. It | ||
* supports the `T` interface but additionally permits `T`'s methods to return | ||
* `PromiseLike`s even if `T` declares them as only synchronous. | ||
*/ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20396
25
Updated@endo/eventual-send@^0.14.8
Updated@endo/marshal@^0.6.3