Skip to content

Commit

Permalink
updated exports
Browse files Browse the repository at this point in the history
  • Loading branch information
lastraum committed Apr 19, 2022
1 parent db31fa8 commit 55283f1
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 22 deletions.
2 changes: 1 addition & 1 deletion dist/accessArea.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export declare enum NFTType {
ERC721 = 0,
ERC1155 = 1
}
export declare function createAccessArea(data: Config): Promise<AccessArea>;
export declare function createArea(data: Config): Promise<AccessArea>;
declare class AccessArea extends Entity {
constructor(data: Config);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { createAccessArea } from './accessArea';
export { createArea } from './accessArea';
24 changes: 5 additions & 19 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/accessArea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as abi from './abi'
import { getUserData } from "@decentraland/Identity"
import * as crypto from '@dcl/crypto-scene-utils'

type Config = {
export type Config = {
name?: string,
contract?:string,
chain?:ChainType,
Expand Down
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
export {createArea } from './accessArea'
export {Config } from './accessArea'
export {Type } from './accessArea'
export {Match } from './accessArea'
export {ChainType } from './accessArea'
export {NFTType } from './accessArea'

0 comments on commit 55283f1

Please sign in to comment.