@devvit/permissions 0.8.3 → 0.8.4

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.
Files changed (2) hide show
  1. package/package.json +26 -22
  2. package/permissions.yaml +1 -2
package/package.json CHANGED
@@ -1,38 +1,42 @@
1
1
  {
2
2
  "name": "@devvit/permissions",
3
- "type": "module",
4
- "version": "0.8.3",
3
+ "version": "0.8.4",
5
4
  "license": "BSD-3-Clause",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://developers.reddit.com/"
8
+ },
9
+ "type": "module",
6
10
  "main": "./index.js",
7
- "types": "./index.d.ts",
8
- "source": "./src/index.ts",
9
- "publishConfig": {
10
- "directory": "dist"
11
+ "scripts": {
12
+ "build": "tsc && cp ./permissions.yaml ./dist",
13
+ "clean": "rm -rf .turbo coverage dist",
14
+ "clobber": "yarn clean && rm -rf node_modules",
15
+ "dev": "tsc -w",
16
+ "lint": "redlint .",
17
+ "lint:fix": "yarn lint --fix",
18
+ "prepublishOnly": "publish-package-json",
19
+ "test": "yarn test:unit && yarn test:types && yarn lint",
20
+ "test:types": "tsc --noEmit",
21
+ "test:unit": "vitest run",
22
+ "test:unit-with-coverage": "vitest run --coverage"
11
23
  },
24
+ "types": "./index.d.ts",
12
25
  "dependencies": {
13
- "@devvit/protos": "0.8.3",
26
+ "@devvit/protos": "0.8.4",
14
27
  "js-yaml": "4.1.0"
15
28
  },
16
29
  "devDependencies": {
17
- "@devvit/eslint-config": "0.8.3",
18
- "@devvit/tsconfig": "0.8.3",
30
+ "@devvit/eslint-config": "0.8.4",
31
+ "@devvit/tsconfig": "0.8.4",
19
32
  "@types/js-yaml": "4.0.5",
20
33
  "eslint": "8.9.0",
21
34
  "typescript": "4.9.3",
22
35
  "vitest": "0.8.2"
23
36
  },
24
- "scripts": {
25
- "build": "tsc && cp ./permissions.yaml ./dist",
26
- "dev": "tsc -w",
27
- "clean": "rm -rf .turbo coverage dist",
28
- "clobber": "yarn clean && rm -rf node_modules",
29
- "lint": "redlint .",
30
- "lint:fix": "yarn lint --fix",
31
- "test": "yarn test:unit && yarn test:types && yarn lint",
32
- "test:types": "tsc --noEmit",
33
- "test:unit": "vitest run",
34
- "test:unit-with-coverage": "vitest run --coverage",
35
- "prepublishOnly": "publish-package-json"
37
+ "publishConfig": {
38
+ "directory": "dist"
36
39
  },
37
- "gitHead": "5b360061f636c38bf9a870b3ad795bf91cc000f7"
40
+ "source": "./src/index.ts",
41
+ "gitHead": "ab4c6568cfba9667e8346f419435c4a8c03669f3"
38
42
  }
package/permissions.yaml CHANGED
@@ -17,8 +17,7 @@ permissions:
17
17
  - permission: SYSTEM
18
18
  - actor: http.plugins.local
19
19
  has: # No permissions
20
- requires: # Requires `system` permission to access
21
- - permission: HTTP
20
+ requires: # No permissions
22
21
  # Allow this one specific test actor to make HTTP requests so that we can
23
22
  # unit-test the HTTP plugin. to-do: add to app name block list.
24
23
  - actor: hello-world-request.local