inngest 0.4.1 → 0.4.2

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/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  <div align="center">
2
2
  <br/>
3
- <img src="https://user-images.githubusercontent.com/306177/191580717-1f563f4c-31e3-4aa0-848c-5ddc97808a9a.png" width="250" />
3
+ <a href="https://www.inngest.com"><img src="https://user-images.githubusercontent.com/306177/191580717-1f563f4c-31e3-4aa0-848c-5ddc97808a9a.png" width="250" /></a>
4
4
  <br/>
5
5
  <br/>
6
6
  <p>
7
7
  Serverless event-driven queues, background jobs, and scheduled jobs for Typescript.<br />
8
8
  Works with any framework and platform.
9
9
  </p>
10
- Read the <a href="https://https://www.inngest.com/docs">documentation</a> and get started in minutes.
10
+ Read the <a href="https://www.inngest.com/docs">documentation</a> and get started in minutes.
11
11
  <br/>
12
12
  <p>
13
13
 
@@ -66,7 +66,7 @@ Functions listen to events which can be triggered by API calls, webhooks, integr
66
66
 
67
67
  <br />
68
68
 
69
- **Triggering functions by events:** Send events to trigger functions automatically.
69
+ **Triggering functions by events:**
70
70
 
71
71
 
72
72
  ```ts
@@ -78,7 +78,7 @@ const inngest = new Inngest({ name: "My App" });
78
78
  inngest.send("app/user.created", { data: { id: 123 } });
79
79
  ```
80
80
 
81
- Events trigger any number of functions automatically, in parallel, in the background.
81
+ Events trigger any number of functions automatically, in parallel, in the background. Inngest also stores a history of all events for observability, testing, and replay.
82
82
 
83
83
 
84
84
  <br />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inngest",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Official SDK for Inngest.com",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -17,18 +17,18 @@
17
17
  "scripts": {
18
18
  "prebuild": "genversion --semi --double --es6 ./src/version.ts",
19
19
  "build": "yarn run clean && tsc",
20
- "postbuild": "cp ../package.json ../LICENSE.md ../README.md .",
21
20
  "test": "jest --passWithNoTests",
22
21
  "clean": "rm -rf ./dist",
23
- "prepare": "yarn run build",
24
- "postversion": "cp package.json LICENSE.md README.md dist",
22
+ "postversion": "yarn run build:copy",
25
23
  "release": "yarn run np",
26
24
  "api-extractor": "api-extractor",
27
25
  "dev": "concurrently --names Build,Lint --prefix-colors \"green.inverse,magenta.inverse\" --handle-input \"yarn run dev:build\" \"yarn run dev:lint\"",
28
26
  "dev:build": "nodemon -w src -e ts -i version.ts --delay 300ms -x 'yarn run build && yarn run build:check --local'",
29
27
  "dev:lint": "nodemon -w src -e ts -i version.ts --delay 300ms -x 'eslint .'",
30
28
  "build:api": "api-extractor run --local --verbose",
31
- "build:check": "api-extractor run --verbose"
29
+ "build:check": "api-extractor run --verbose",
30
+ "build:copy": "cp package.json LICENSE.md README.md dist",
31
+ "prelink": "yarn run build:copy"
32
32
  },
33
33
  "homepage": "https://github.com/inngest/inngest-js#readme",
34
34
  "repository": {
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "0.4.0";
1
+ export declare const version = "0.4.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // Generated by genversion.
5
- exports.version = "0.4.0";
5
+ exports.version = "0.4.1";
6
6
  //# sourceMappingURL=version.js.map
package/src/version.ts DELETED
@@ -1,2 +0,0 @@
1
- // Generated by genversion.
2
- export const version = "0.4.1";