crypto-database 3.3.0 → 4.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/LICENSE CHANGED
@@ -1,21 +1,154 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Interchained LLC and VibeCode 101
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ Business Source License 1.1
2
+
3
+ License text copyright (c) 2020 MariaDB Corporation Ab, All Rights Reserved.
4
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
5
+
6
+ -----------------------------------------------------------------------------
7
+
8
+ Parameters
9
+
10
+ Licensor: INTERCHAINED LLC
11
+
12
+ Licensed Work: crypto-database, version 4.0.0 and later.
13
+ crypto-database is a DISTRIBUTION of NEDB and carries the
14
+ same terms as the flagship engine
15
+ (github.com/Eth-Interchained/nedb).
16
+ The Licensed Work is (c) 2026 INTERCHAINED LLC.
17
+
18
+ Additional Use Grant: You may make production use of the Licensed Work,
19
+ without limitation and without obtaining any further
20
+ permission or license from the Licensor, provided that
21
+ your Annual Revenue is less than one million United
22
+ States dollars (USD $1,000,000).
23
+
24
+ "Annual Revenue" means the total gross revenue,
25
+ recognised under the accounting standards you ordinarily
26
+ apply, of you together with all of your Affiliates, over
27
+ your most recently completed fiscal year. "Affiliates"
28
+ means any entity that controls, is controlled by, or is
29
+ under common control with you, where "control" means
30
+ direct or indirect ownership of more than fifty percent
31
+ (50%) of the voting interests of an entity.
32
+
33
+ Annual Revenue is measured on your organisation as a
34
+ whole. It is NOT limited to revenue derived from, or
35
+ attributable to, the Licensed Work. An organisation
36
+ whose Annual Revenue is USD $1,000,000 or more must
37
+ obtain an additional use grant from the Licensor before
38
+ making production use of the Licensed Work.
39
+
40
+ Regardless of Annual Revenue, this Additional Use Grant
41
+ does not permit you to offer the Licensed Work, or a
42
+ substantially similar derivative of it, to third parties
43
+ as a managed, hosted or database-as-a-service offering.
44
+ That use requires a separate commercial license.
45
+
46
+ Non-production use is always permitted: development,
47
+ testing, continuous integration, evaluation, research,
48
+ teaching and personal projects are unrestricted for
49
+ everyone, at any revenue.
50
+
51
+ To obtain an additional use grant, contact
52
+ licensing@interchained.org.
53
+
54
+ Change Date: 2030-09-11
55
+
56
+ Change License: Apache License, Version 2.0
57
+ The full text ships in this repository as
58
+ COPYING-APACHE-2.0.txt, so the grant is verifiable from
59
+ the source tree alone.
60
+
61
+ The Change License relicenses the Licensed Work's OWN
62
+ source. It does not relicense third-party dependencies,
63
+ which keep their own terms — inventoried in
64
+ THIRD_PARTY.md.
65
+
66
+ -----------------------------------------------------------------------------
67
+
68
+ Terms
69
+
70
+ The Licensor hereby grants you the right to copy, modify, create derivative
71
+ works, redistribute, and make non-production use of the Licensed Work. The
72
+ Licensor may make an Additional Use Grant, above, permitting limited
73
+ production use.
74
+
75
+ Effective on the Change Date, or the fourth anniversary of the first publicly
76
+ available distribution of a specific version of the Licensed Work under this
77
+ License, whichever comes first, the Licensor hereby grants you rights under
78
+ the terms of the Change License, and the rights granted in the paragraph
79
+ above terminate.
80
+
81
+ If your use of the Licensed Work does not comply with the requirements
82
+ currently in effect as described in this License, you must purchase a
83
+ commercial license from the Licensor, its affiliated entities, or authorized
84
+ resellers, or you must refrain from using the Licensed Work.
85
+
86
+ All copies of the original and modified Licensed Work, and derivative works
87
+ of the Licensed Work, are subject to this License. This License applies
88
+ separately for each version of the Licensed Work and the Change Date may vary
89
+ for each version of the Licensed Work released by Licensor.
90
+
91
+ You must conspicuously display this License on each original or modified copy
92
+ of the Licensed Work. If you receive the Licensed Work in original or
93
+ modified form from a third party, the terms and conditions set forth in this
94
+ License apply to your use of that work.
95
+
96
+ Any use of the Licensed Work in violation of this License will automatically
97
+ terminate your rights under this License for the current and all other
98
+ versions of the Licensed Work.
99
+
100
+ This License does not grant you any right in any trademark or logo of
101
+ Licensor or its affiliates (provided that you may use a trademark or logo of
102
+ Licensor as expressly required by this License).
103
+
104
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
105
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
106
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
107
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
108
+ TITLE.
109
+
110
+ MariaDB hereby grants you permission to use this License's text to license
111
+ your works, and to refer to it using the trademark "Business Source License",
112
+ as long as you comply with the Covenants of Licensor below.
113
+
114
+ -----------------------------------------------------------------------------
115
+
116
+ Covenants of Licensor
117
+
118
+ In consideration of the right to use this License's text and the "Business
119
+ Source License" name and trademark, Licensor covenants to MariaDB, and to all
120
+ other recipients of the licensed work to be provided by Licensor:
121
+
122
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
123
+ or a license that is compatible with GPL Version 2.0 or a later version,
124
+ where "compatible" means that software provided under the Change License
125
+ can be included in a program with software provided under GPL Version 2.0
126
+ or a later version. Licensor may specify additional Change Licenses
127
+ without limitation.
128
+
129
+ 2. To either: (a) specify an additional grant of rights to use that does not
130
+ impose any additional restriction on the right granted in this License, as
131
+ the Additional Use Grant; or (b) insert the text "None".
132
+
133
+ 3. To specify a Change Date.
134
+
135
+ 4. Not to modify this License in any other way.
136
+
137
+ -----------------------------------------------------------------------------
138
+
139
+ Notice
140
+
141
+ The Business Source License (this document, or the "License") is not an Open
142
+ Source license. However, the Licensed Work will eventually be made available
143
+ under an Open Source License, as stated in this License.
144
+
145
+ -----------------------------------------------------------------------------
146
+
147
+ Prior versions
148
+
149
+ crypto-database versions 3.0.0 through 3.3.1 were released under the MIT License. That
150
+ grant is irrevocable for those versions: if you obtained NEDB at 3.3.1 or
151
+ earlier, your rights in that copy are unchanged by this License and are not
152
+ affected by it. This License governs version 4.0.0 and later only.
153
+
154
+ © 2026 INTERCHAINED LLC
Binary file
Binary file
Binary file
Binary file
package/nedb-distro.js CHANGED
@@ -1,3 +1,7 @@
1
+ // SPDX-FileCopyrightText: 2026 INTERCHAINED LLC
2
+ // SPDX-License-Identifier: BUSL-1.1
3
+ // crypto-database · a distribution of NEDB · © 2026 INTERCHAINED LLC × Eth-Interchained × Vex (Claude Opus 5)
4
+
1
5
  "use strict";
2
6
  // crypto-database — distribution defaults.
3
7
  //
Binary file
Binary file
package/nedbd-v2.js CHANGED
@@ -1,4 +1,8 @@
1
1
  #!/usr/bin/env node
2
+ // SPDX-FileCopyrightText: 2026 INTERCHAINED LLC
3
+ // SPDX-License-Identifier: BUSL-1.1
4
+ // crypto-database · a distribution of NEDB · © 2026 INTERCHAINED LLC × Eth-Interchained × Vex (Claude Opus 5)
5
+
2
6
  // nedbd-v2 — thin platform shim that locates and spawns the right
3
7
  // pre-built native binary for the current platform/arch.
4
8
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crypto-database",
3
- "version": "3.3.0",
3
+ "version": "4.0.0",
4
4
  "description": "NEDB — hash-chained, time-traveling, bi-temporal embedded database with Rust native core. SQL, Redis, MongoDB adapters. Causal Write Provenance. RESP2 wire protocol.",
5
5
  "main": "nedb-distro.js",
6
6
  "types": "index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "README.md",
20
20
  "LICENSE"
21
21
  ],
22
- "license": "MIT",
22
+ "license": "BUSL-1.1",
23
23
  "homepage": "https://github.com/aiassistsecure/nedb#readme",
24
24
  "repository": {
25
25
  "type": "git",
package/test/smoke.mjs CHANGED
@@ -1,4 +1,8 @@
1
1
  #!/usr/bin/env node
2
+ // SPDX-FileCopyrightText: 2026 INTERCHAINED LLC
3
+ // SPDX-License-Identifier: BUSL-1.1
4
+ // crypto-database · a distribution of NEDB · © 2026 INTERCHAINED LLC × Eth-Interchained × Vex (Claude Opus 5)
5
+
2
6
  // nedb-engine — cinematic smoke test (`npm test`)
3
7
  // ---------------------------------------------------------------------------
4
8
  // A five-act tour of the engine, driven entirely by the real native addon