dcl-catalyst-client 11.3.2 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintignore ADDED
@@ -0,0 +1,5 @@
1
+ dist
2
+ jest.config.js
3
+ scripts
4
+ coverage
5
+ src/CatalystsList.ts
package/.eslintrc.json CHANGED
@@ -1,18 +1,13 @@
1
1
  {
2
- "parser": "@typescript-eslint/parser", // Specifies the ESLint parser
2
+ "extends": "@dcl/eslint-config",
3
+ "parser": "@typescript-eslint/parser",
3
4
  "parserOptions": {
4
5
  "ecmaVersion": 2020, // Allows for the parsing of modern ECMAScript features
5
- "sourceType": "module" // Allows for the use of imports
6
- },
7
- "extends": [
8
- "plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin
9
- "prettier/@typescript-eslint", // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
10
- "plugin:prettier/recommended" // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
11
-
12
- ],
13
- "rules": {
14
- // Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
15
- "@typescript-eslint/no-inferrable-types": 0,
16
- "@typescript-eslint/no-empty-function": "off"
6
+ "sourceType": "module", // Allows for the use of imports
7
+ "project": [
8
+ // Specify it only for TypeScript files
9
+ "./tsconfig.json",
10
+ "./test/tsconfig.json"
11
+ ]
17
12
  }
18
13
  }
package/README.md CHANGED
@@ -23,8 +23,8 @@ One of the most important aspects, is the ability to deploy new entities. Here i
23
23
 
24
24
  ```
25
25
  import { CatalystClient, DeploymentBuilder } from 'dcl-catalyst-client'
26
- import { EntityType } from 'dcl-catalyst-commons'
27
- import { Authenticator } from 'dcl-crypto'
26
+ import { EntityType } from '@dcl/schemas'
27
+ import { Authenticator } from '@dcl/crypto'
28
28
 
29
29
 
30
30
  // This is up to you. You will need to figure out how to make the owner of the pointer sign the entity id