@intomind/sdk 0.0.0-stage → 1.4.1
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/CLA.md +71 -0
- package/CONTRIBUTING.md +53 -0
- package/LICENSE +662 -0
- package/LICENSING.md +45 -0
- package/README.md +147 -2
- package/dist/digest.d.ts +22 -0
- package/dist/digest.d.ts.map +1 -0
- package/dist/digest.js +109 -0
- package/dist/digest.js.map +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +1433 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +2227 -0
- package/dist/protocol.js.map +1 -0
- package/dist/session.d.ts +284 -0
- package/dist/session.d.ts.map +1 -0
- package/dist/session.js +523 -0
- package/dist/session.js.map +1 -0
- package/dist/timebase.d.ts +65 -0
- package/dist/timebase.d.ts.map +1 -0
- package/dist/timebase.js +114 -0
- package/dist/timebase.js.map +1 -0
- package/dist/transfer.d.ts +139 -0
- package/dist/transfer.d.ts.map +1 -0
- package/dist/transfer.js +269 -0
- package/dist/transfer.js.map +1 -0
- package/dist/web-bluetooth.d.ts +172 -0
- package/dist/web-bluetooth.d.ts.map +1 -0
- package/dist/web-bluetooth.js +310 -0
- package/dist/web-bluetooth.js.map +1 -0
- package/package.json +74 -4
- package/src/digest.ts +115 -0
- package/src/index.ts +103 -0
- package/src/protocol.ts +2987 -0
- package/src/session.ts +675 -0
- package/src/timebase.ts +138 -0
- package/src/transfer.ts +313 -0
- package/src/web-bluetooth.ts +419 -0
package/CLA.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Contributor license agreement
|
|
2
|
+
|
|
3
|
+
By agreeing to this document you accept the following terms for any
|
|
4
|
+
contribution you make to a project owned by IntoMind, Inc.
|
|
5
|
+
|
|
6
|
+
## 1. Definitions
|
|
7
|
+
|
|
8
|
+
"You" means the individual or legal entity agreeing to this document.
|
|
9
|
+
|
|
10
|
+
"Contribution" means any work of authorship you intentionally submit to a
|
|
11
|
+
project owned by IntoMind, Inc., in any form and by any means, including
|
|
12
|
+
a pull request, a patch, or a message. It does not include anything you
|
|
13
|
+
clearly mark as "not a contribution".
|
|
14
|
+
|
|
15
|
+
## 2. Copyright
|
|
16
|
+
|
|
17
|
+
You keep the copyright in your contribution.
|
|
18
|
+
|
|
19
|
+
You grant IntoMind, Inc. a perpetual, worldwide, non-exclusive, no-charge,
|
|
20
|
+
royalty-free, irrevocable copyright license to reproduce, prepare
|
|
21
|
+
derivative works of, publicly display, publicly perform, sublicense, and
|
|
22
|
+
distribute your contribution and the derivative works of it, under any
|
|
23
|
+
license terms, including both the GNU Affero General Public License and a
|
|
24
|
+
commercial license.
|
|
25
|
+
|
|
26
|
+
## 3. Patents
|
|
27
|
+
|
|
28
|
+
You grant IntoMind, Inc. a perpetual, worldwide, non-exclusive,
|
|
29
|
+
no-charge, royalty-free, irrevocable patent license to make, have made,
|
|
30
|
+
use, offer to sell, sell, import, and otherwise transfer your
|
|
31
|
+
contribution, where that license covers only those patent claims you can
|
|
32
|
+
license that are necessarily infringed by your contribution alone or by
|
|
33
|
+
the combination of your contribution with the project it was submitted
|
|
34
|
+
to.
|
|
35
|
+
|
|
36
|
+
If any entity brings patent litigation alleging that a contribution, or
|
|
37
|
+
the project it was submitted to, infringes a patent, any patent license
|
|
38
|
+
granted under this agreement to that entity ends on the day the
|
|
39
|
+
litigation is filed.
|
|
40
|
+
|
|
41
|
+
## 4. What you are saying is true
|
|
42
|
+
|
|
43
|
+
You confirm that:
|
|
44
|
+
|
|
45
|
+
- Each contribution is your original work, or you have the right to
|
|
46
|
+
submit it under this agreement.
|
|
47
|
+
- If your employer has rights in work you create, you have permission to
|
|
48
|
+
make the contribution, or your employer has waived those rights.
|
|
49
|
+
- Your contribution does not knowingly include anyone else's work that
|
|
50
|
+
you have not identified, along with its license, in the contribution
|
|
51
|
+
itself.
|
|
52
|
+
|
|
53
|
+
## 5. No warranty
|
|
54
|
+
|
|
55
|
+
Your contribution is provided as is. You are not expected to support it
|
|
56
|
+
and you give no warranty of any kind, except as stated above.
|
|
57
|
+
|
|
58
|
+
## 6. Notice
|
|
59
|
+
|
|
60
|
+
If anything you said here stops being true, tell IntoMind, Inc.
|
|
61
|
+
|
|
62
|
+
## Agreeing
|
|
63
|
+
|
|
64
|
+
Comment on your pull request with:
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
I have read CLA.md and I agree to it.
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
from the account that owns the contribution. That comment, together with
|
|
71
|
+
the record of your account, is your agreement.
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Issues, questions, and pull requests are welcome.
|
|
4
|
+
|
|
5
|
+
## Before your first pull request
|
|
6
|
+
|
|
7
|
+
Sign the contributor license agreement. It is short, it is in `CLA.md`,
|
|
8
|
+
and it is signed once rather than per contribution. Comment on your pull
|
|
9
|
+
request with:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
I have read CLA.md and I agree to it.
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
from the account that owns the contribution. A maintainer records the
|
|
16
|
+
agreement against your account and later pull requests need nothing
|
|
17
|
+
further.
|
|
18
|
+
|
|
19
|
+
You keep the copyright in your work. The agreement gives IntoMind the
|
|
20
|
+
right to use your contribution under both the Affero license and the
|
|
21
|
+
commercial license, which is what makes it possible to offer either one.
|
|
22
|
+
Without it a contribution could only ever go out under one of them, and
|
|
23
|
+
the project would have to refuse the contribution or drop the commercial
|
|
24
|
+
license.
|
|
25
|
+
|
|
26
|
+
If you are contributing for an employer, get whoever owns your work to
|
|
27
|
+
agree as well, and say so on the pull request.
|
|
28
|
+
|
|
29
|
+
## What makes a change easy to accept
|
|
30
|
+
|
|
31
|
+
- One change per pull request, with the reason in the message rather than
|
|
32
|
+
in a comment on the diff.
|
|
33
|
+
- A test that fails before your change and passes after it. A change to
|
|
34
|
+
behavior without a test that shows the behavior is hard to review and
|
|
35
|
+
hard to keep.
|
|
36
|
+
- The house style: American English, plain sentences, no abbreviation a
|
|
37
|
+
reader has to look up.
|
|
38
|
+
- Nothing that names hardware this library does not support. The device
|
|
39
|
+
is the authority on what the device is, and a table of specific
|
|
40
|
+
hardware here is a defect.
|
|
41
|
+
|
|
42
|
+
## What gets refused
|
|
43
|
+
|
|
44
|
+
- Code you did not write, or code whose license is not compatible.
|
|
45
|
+
- A dependency added for something small. Every dependency is a thing
|
|
46
|
+
that has to keep working for as long as this library does.
|
|
47
|
+
- Anything that makes a recording less honest: a silent gap, an invented
|
|
48
|
+
sample, a statistic that was not measured.
|
|
49
|
+
|
|
50
|
+
## Security
|
|
51
|
+
|
|
52
|
+
Report anything security sensitive to contact@intomind.com rather than in
|
|
53
|
+
a public issue.
|