1.5.6 • Published 9 months ago

@endo/exo v1.5.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

@endo/exo

An Exo object is an exposed Remotable object with methods (aka a Far object) which is normally defined with an InterfaceGuard as a protective outer layer, providing the first layer of defensiveness.

This @endo/exo package defines the APIs for making Exo objects, and for defining ExoClasses and ExoClassKits for making Exo objects.

See exo-taxonomy for the taxonomy and naming conventions for the elements of this API.

When an exo is defined with an InterfaceGuard, the exo is augmented by default with a meta-method for obtaining the self-describing InterfaceGuard from the exo:

// `GET_INTERFACE_GUARD` holds the name of the meta-method
import { GET_INTERFACE_GUARD } from '@endo/exo';
import { getInterfaceMethodKeys } from '@endo/patterns';

...
   const interfaceGuard = await E(exo)[GET_INTERFACE_GUARD]();
   // `methodNames` omits names of automatically added meta-methods like
   // the value of `GET_INTERFACE_GUARD`.
   // Others may also be omitted if allowed by interfaceGuard options
   const methodNames = getInterfaceMethodKeys(interfaceGuard);
...
1.5.5

9 months ago

1.5.6

9 months ago

1.5.4

9 months ago

1.5.3

11 months ago

1.5.2

11 months ago

1.5.1

12 months ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago

0.2.6

2 years ago

0.2.3

2 years ago

0.2.5

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago