diff --git a/dist/index.d.ts b/dist/index.d.ts index 29b311c..d763e03 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,3 +1,4 @@ +export * as Contracts from '@ethereum-attestation-service/eas-contracts'; export * from './eas'; export * from './offchain'; export * from './request'; diff --git a/dist/index.js b/dist/index.js index 21f4661..0bc174b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,6 +1,8 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.Contracts = void 0; const tslib_1 = require("tslib"); +exports.Contracts = tslib_1.__importStar(require("@ethereum-attestation-service/eas-contracts")); tslib_1.__exportStar(require("./eas"), exports); tslib_1.__exportStar(require("./offchain"), exports); tslib_1.__exportStar(require("./request"), exports); diff --git a/dist/index.js.map b/dist/index.js.map index ac21dd3..7c634e3 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB;AACtB,qDAA2B;AAC3B,oDAA0B;AAC1B,2DAAiC;AACjC,4DAAkC;AAClC,kDAAwB"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,iGAAyE;AACzE,gDAAsB;AACtB,qDAA2B;AAC3B,oDAA0B;AAC1B,2DAAiC;AACjC,4DAAkC;AAClC,kDAAwB"} \ No newline at end of file diff --git a/dist/offchain/delegated.d.ts b/dist/offchain/delegated.d.ts index c1970c3..06c8a90 100644 --- a/dist/offchain/delegated.d.ts +++ b/dist/offchain/delegated.d.ts @@ -1,6 +1,6 @@ import { Signer } from 'ethers'; import { EIP712MessageTypes, EIP712Params, EIP712Response, PartialTypedDataConfig, TypedDataHandler } from './typed-data-handler'; -export { EIP712MessageTypes, EIP712TypedData, EIP712Request, EIP712Response, PartialTypedDataConfig } from './typed-data-handler'; +export { EIP712MessageTypes, EIP712TypedData, EIP712Request, EIP712Response, PartialTypedDataConfig, Signature } from './typed-data-handler'; export declare const EIP712_NAME = "EAS"; export declare enum DelegatedAttestationVersion { Legacy = 0, diff --git a/dist/offchain/delegated.js.map b/dist/offchain/delegated.js.map index 3cd7a6e..e78bfbd 100644 --- a/dist/offchain/delegated.js.map +++ b/dist/offchain/delegated.js.map @@ -1 +1 @@ -{"version":3,"file":"delegated.js","sourceRoot":"","sources":["../../src/offchain/delegated.ts"],"names":[],"mappings":";;;;AACA,+DAA+B;AAC/B,4DAA4B;AAC5B,6DAO8B;AAUjB,QAAA,WAAW,GAAG,KAAK,CAAC;AAEjC,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACrC,iFAAU,CAAA;IACV,qFAAY,CAAA;IACZ,qFAAY,CAAA;AACd,CAAC,EAJW,2BAA2B,2CAA3B,2BAA2B,QAItC;AAMD,MAAM,2BAA2B,GAAkE;IACjG,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE;QACpC,cAAc,EACZ,uHAAuH;QACzH,WAAW,EAAE,QAAQ;QACrB,KAAK,EAAE;YACL,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;gBACnC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;gBACtC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC1C,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE;gBACnC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;gBACnC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;gBAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;aACnC;SACF;KACF;IACD,CAAC,2BAA2B,CAAC,QAAQ,CAAC,EAAE;QACtC,cAAc,EACZ,qJAAqJ;QACvJ,WAAW,EAAE,QAAQ;QACrB,KAAK,EAAE;YAC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AC7B,EACD,MAAM,CACP,CAAC;IACJ,CAAC;IAEM,kCAAkC,CACvC,OAAe,EACf,QAAoE;QAEpE,OAAO,IAAI,CAAC,+BAA+B,CACzC,OAAO,EACP,EAAE,GAAG,QAAQ,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,EAAE,EAC1D;YACE,WAAW,EAAE,IAAI,CAAC,UAAU,CAAC,WAAW;YACxC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;SAC7B,CACF,CAAC;IACJ,CAAC;CACF;AAnGD,8BAmGC"} \ No newline at end of file +{"version":3,"file":"delegated.js","sourceRoot":"","sources":["../../src/offchain/delegated.ts"],"names":[],"mappings":";;;;AACA,+DAA+B;AAC/B,4DAA4B;AAC5B,6DAO8B;AAWjB,QAAA,WAAW,GAAG,KAAK,CAAC;AAEjC,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACrC,iFAAU,CAAA;IACV,qFAAY,CAAA;IACZ,qFAAY,CAAA;AACd,CAAC,EAJW,2BAA2B,2CAA3B,2BAA2B,QAItC;AAMD,MAAM,2BAA2B,GAAkE;IACjG,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE;QACpC,cAAc,EACZ,uHAAuH;QACzH,WAAW,EAAE,QAAQ;QACrB,KAAK,EAAE;YACL,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;gBACnC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;gBACtC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC1C,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE;gBACnC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;gBACnC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;gBAC/B,EAAE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,CAC9B,eAAe,EACf;YACE,MAAM,EAAE,IAAI,CAAC,kBAAkB,EAAE;YACjC,WAAW,EAAE,IAAI,CAAC,UAAU,CAAC,WAAW;YACxC,OAAO,EAAE,eAAe;YACxB,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;SAC7B,EACD,MAAM,CACP,CAAC;IACJ,CAAC;IAEM,kCAAkC,CACvC,OAAe,EACf,QAAoE;QAEpE,OAAO,IAAI,CAAC,+BAA+B,CACzC,OAAO,EACP,EAAE,GAAG,QAAQ,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,EAAE,EAC1D;YACE,WAAW,EAAE,IAAI,CAAC,UAAU,CAAC,WAAW;YACxC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;SAC7B,CACF,CAAC;IACJ,CAAC;CACF;AAnGD,8BAmGC"} \ No newline at end of file diff --git a/package.json b/package.json index caaa33c..0b03ab7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ethereum-attestation-service/eas-sdk", - "version": "1.3.5", + "version": "1.3.6", "description": "Ethereum Attestation Service - TypeScript/JavaScript SDK", "repository": "git@github.com:ethereum-attestation-service/eas-sdk.git", "author": "Leonid Beder ", diff --git a/src/index.ts b/src/index.ts index 29b311c..d763e03 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,4 @@ +export * as Contracts from '@ethereum-attestation-service/eas-contracts'; export * from './eas'; export * from './offchain'; export * from './request'; diff --git a/src/offchain/delegated.ts b/src/offchain/delegated.ts index c6cd488..32d10bd 100644 --- a/src/offchain/delegated.ts +++ b/src/offchain/delegated.ts @@ -15,7 +15,8 @@ export { EIP712TypedData, EIP712Request, EIP712Response, - PartialTypedDataConfig + PartialTypedDataConfig, + Signature } from './typed-data-handler'; export const EIP712_NAME = 'EAS';