@activeledger/activestorage 4.5.9 → 4.5.11
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/package.json +6 -7
- package/LICENSE +0 -20
- package/es/cache.d.ts +0 -18
- package/es/cache.d.ts.map +0 -1
- package/es/cache.js +0 -57
- package/es/cache.js.map +0 -1
- package/es/datastore.d.ts +0 -11
- package/es/datastore.d.ts.map +0 -1
- package/es/datastore.js +0 -66
- package/es/datastore.js.map +0 -1
- package/es/driver.d.ts +0 -16
- package/es/driver.d.ts.map +0 -1
- package/es/driver.js +0 -2
- package/es/driver.js.map +0 -1
- package/es/drivers/leveldb.d.ts +0 -21
- package/es/drivers/leveldb.d.ts.map +0 -1
- package/es/drivers/leveldb.js +0 -121
- package/es/drivers/leveldb.js.map +0 -1
- package/es/drivers/rocksdb.d.ts +0 -21
- package/es/drivers/rocksdb.d.ts.map +0 -1
- package/es/drivers/rocksdb.js +0 -98
- package/es/drivers/rocksdb.js.map +0 -1
- package/es/heartbeat.d.ts +0 -7
- package/es/heartbeat.d.ts.map +0 -1
- package/es/heartbeat.js +0 -15
- package/es/heartbeat.js.map +0 -1
- package/es/index.d.ts +0 -3
- package/es/index.d.ts.map +0 -1
- package/es/index.js +0 -3
- package/es/index.js.map +0 -1
- package/es/levelme.d.ts +0 -84
- package/es/levelme.d.ts.map +0 -1
- package/es/levelme.js +0 -488
- package/es/levelme.js.map +0 -1
- package/es/newlinestream.d.ts +0 -4
- package/es/newlinestream.d.ts.map +0 -1
- package/es/newlinestream.js +0 -28
- package/es/newlinestream.js.map +0 -1
- package/es/selfhost.d.ts +0 -2
- package/es/selfhost.d.ts.map +0 -1
- package/es/selfhost.js +0 -474
- package/es/selfhost.js.map +0 -1
- package/es/sse.d.ts +0 -10
- package/es/sse.d.ts.map +0 -1
- package/es/sse.js +0 -41
- package/es/sse.js.map +0 -1
- package/lib/cache.d.ts +0 -18
- package/lib/cache.d.ts.map +0 -1
- package/lib/cache.js +0 -62
- package/lib/cache.js.map +0 -1
- package/lib/datastore.d.ts +0 -11
- package/lib/datastore.d.ts.map +0 -1
- package/lib/datastore.js +0 -93
- package/lib/datastore.js.map +0 -1
- package/lib/driver.d.ts +0 -16
- package/lib/driver.d.ts.map +0 -1
- package/lib/driver.js +0 -3
- package/lib/driver.js.map +0 -1
- package/lib/drivers/leveldb.d.ts +0 -21
- package/lib/drivers/leveldb.d.ts.map +0 -1
- package/lib/drivers/leveldb.js +0 -125
- package/lib/drivers/leveldb.js.map +0 -1
- package/lib/drivers/rocksdb.d.ts +0 -21
- package/lib/drivers/rocksdb.d.ts.map +0 -1
- package/lib/drivers/rocksdb.js +0 -102
- package/lib/drivers/rocksdb.js.map +0 -1
- package/lib/fauxton/dashboard.assets/css/styles.d43d3249088a6c04b633.css +0 -33
- package/lib/fauxton/dashboard.assets/fonts/fauxtonicon5.eot +0 -0
- package/lib/fauxton/dashboard.assets/fonts/fauxtonicon5.ttf +0 -0
- package/lib/fauxton/dashboard.assets/fonts/fauxtonicon5.woff +0 -0
- package/lib/fauxton/dashboard.assets/fonts/fontawesome-webfont.eot +0 -0
- package/lib/fauxton/dashboard.assets/fonts/fontawesome-webfont.ttf +0 -0
- package/lib/fauxton/dashboard.assets/fonts/fontawesome-webfont.woff +0 -0
- package/lib/fauxton/dashboard.assets/img/activeledger-logo.png +0 -0
- package/lib/fauxton/dashboard.assets/img/activeledger.png +0 -0
- package/lib/fauxton/dashboard.assets/img/asf-feather-logo.png +0 -0
- package/lib/fauxton/dashboard.assets/img/couch-watermark.png +0 -0
- package/lib/fauxton/dashboard.assets/img/couchdb-logo.png +0 -0
- package/lib/fauxton/dashboard.assets/img/fauxtonicon5.svg +0 -729
- package/lib/fauxton/dashboard.assets/img/fontawesome-webfont.svg +0 -399
- package/lib/fauxton/dashboard.assets/img/github.png +0 -0
- package/lib/fauxton/dashboard.assets/img/googleplus.png +0 -0
- package/lib/fauxton/dashboard.assets/img/linkedin.png +0 -0
- package/lib/fauxton/dashboard.assets/img/loader.gif +0 -0
- package/lib/fauxton/dashboard.assets/img/twitter.png +0 -0
- package/lib/fauxton/dashboard.assets/js/bundle.d43d3249088a6c04b633.js +0 -1
- package/lib/fauxton/dashboard.assets/js/manifest.a154524a560e5f6f431b.js +0 -1
- package/lib/fauxton/dashboard.assets/js/vendor.156793045cdeb7c63707.js +0 -96
- package/lib/fauxton/index.html +0 -52
- package/lib/heartbeat.d.ts +0 -7
- package/lib/heartbeat.d.ts.map +0 -1
- package/lib/heartbeat.js +0 -19
- package/lib/heartbeat.js.map +0 -1
- package/lib/index.d.ts +0 -3
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -6
- package/lib/index.js.map +0 -1
- package/lib/levelme.d.ts +0 -84
- package/lib/levelme.d.ts.map +0 -1
- package/lib/levelme.js +0 -515
- package/lib/levelme.js.map +0 -1
- package/lib/newlinestream.d.ts +0 -4
- package/lib/newlinestream.d.ts.map +0 -1
- package/lib/newlinestream.js +0 -32
- package/lib/newlinestream.js.map +0 -1
- package/lib/selfhost.d.ts +0 -2
- package/lib/selfhost.d.ts.map +0 -1
- package/lib/selfhost.js +0 -499
- package/lib/selfhost.js.map +0 -1
- package/lib/sse.d.ts +0 -10
- package/lib/sse.d.ts.map +0 -1
- package/lib/sse.js +0 -45
- package/lib/sse.js.map +0 -1
- package/tsconfig.tsbuildinfo +0 -1
package/lib/fauxton/index.html
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
3
|
-
// use this file except in compliance with the License. You may obtain a copy of
|
|
4
|
-
// the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
10
|
-
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
11
|
-
// License for the specific language governing permissions and limitations under
|
|
12
|
-
// the License.
|
|
13
|
-
-->
|
|
14
|
-
<!doctype html>
|
|
15
|
-
<html lang="en">
|
|
16
|
-
<head>
|
|
17
|
-
<meta charset="utf-8">
|
|
18
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
19
|
-
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
20
|
-
<meta http-equiv="Content-Language" content="en" />
|
|
21
|
-
<link rel="shortcut icon" type="image/png" href="dashboard.assets/img/activeledger-logo.png"/>
|
|
22
|
-
<title>Activeledger Data</title>
|
|
23
|
-
|
|
24
|
-
<!-- Application styles. -->
|
|
25
|
-
<style>
|
|
26
|
-
.noscript-warning {
|
|
27
|
-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
28
|
-
padding: 1px 30px 10px 30px;
|
|
29
|
-
color: #fff;
|
|
30
|
-
background: @brandHighlight;
|
|
31
|
-
margin: 100px;
|
|
32
|
-
box-shadow: 2px 2px 5px #989898;
|
|
33
|
-
}
|
|
34
|
-
</style>
|
|
35
|
-
|
|
36
|
-
<link href="dashboard.assets/css/styles.d43d3249088a6c04b633.css" rel="stylesheet"></head>
|
|
37
|
-
|
|
38
|
-
<body id="home">
|
|
39
|
-
|
|
40
|
-
<noscript>
|
|
41
|
-
<div class="noscript-warning">
|
|
42
|
-
<h1>Please turn on JavaScript</h1>
|
|
43
|
-
<p>Fauxton <strong>requires</strong> JavaScript to be enabled.</p>
|
|
44
|
-
</div>
|
|
45
|
-
</noscript>
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
<div id="app"></div>
|
|
49
|
-
|
|
50
|
-
<!-- Fauxton Release : 2020-07-01T23:24:05.040Z -->
|
|
51
|
-
<script type="text/javascript" src="dashboard.assets/js/manifest.a154524a560e5f6f431b.js"></script><script type="text/javascript" src="dashboard.assets/js/vendor.156793045cdeb7c63707.js"></script><script type="text/javascript" src="dashboard.assets/js/bundle.d43d3249088a6c04b633.js"></script></body>
|
|
52
|
-
</html>
|
package/lib/heartbeat.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { IActiveHttpResponse } from "@activeledger/httpd/lib/httpd";
|
|
3
|
-
export declare class HeartBeat {
|
|
4
|
-
static Start(response: IActiveHttpResponse): NodeJS.Timeout;
|
|
5
|
-
static Stop(interval: NodeJS.Timeout): void;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=heartbeat.d.ts.map
|
package/lib/heartbeat.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"heartbeat.d.ts","sourceRoot":"","sources":["../src/heartbeat.ts"],"names":[],"mappings":";AAsBA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAQpE,qBAAa,SAAS;WAQN,KAAK,CAAC,QAAQ,EAAE,mBAAmB,GAAG,MAAM,CAAC,OAAO;WAkBpD,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI;CAGnD"}
|
package/lib/heartbeat.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HeartBeat = void 0;
|
|
4
|
-
class HeartBeat {
|
|
5
|
-
static Start(response) {
|
|
6
|
-
return setInterval(() => {
|
|
7
|
-
if (response.writable) {
|
|
8
|
-
response.cork(() => {
|
|
9
|
-
response.write(":\n\n");
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
}, 10 * 60 * 1000);
|
|
13
|
-
}
|
|
14
|
-
static Stop(interval) {
|
|
15
|
-
clearInterval(interval);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.HeartBeat = HeartBeat;
|
|
19
|
-
//# sourceMappingURL=heartbeat.js.map
|
package/lib/heartbeat.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"heartbeat.js","sourceRoot":"","sources":["../src/heartbeat.ts"],"names":[],"mappings":";;;AA8BA,MAAa,SAAS;IAQb,MAAM,CAAC,KAAK,CAAC,QAA6B;QAC/C,OAAO,WAAW,CAAC,GAAG,EAAE;YACtB,IAAI,QAAQ,CAAC,QAAQ,EAAE;gBACrB,QAAQ,CAAC,IAAI,CAAC,GAAG,EAAE;oBACjB,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC1B,CAAC,CAAC,CAAC;aACJ;QAGH,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IACrB,CAAC;IAQM,MAAM,CAAC,IAAI,CAAC,QAAwB;QACzC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1B,CAAC;CACF;AA7BD,8BA6BC"}
|
package/lib/index.d.ts
DELETED
package/lib/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
package/lib/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ActiveDataStore = void 0;
|
|
4
|
-
const datastore_1 = require("./datastore");
|
|
5
|
-
Object.defineProperty(exports, "ActiveDataStore", { enumerable: true, get: function () { return datastore_1.ActiveDataStore; } });
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAuBA,2CAA8C;AACrC,gGADA,2BAAe,OACA"}
|
package/lib/levelme.d.ts
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import { EventEmitter } from "events";
|
|
4
|
-
interface document {
|
|
5
|
-
_id: string;
|
|
6
|
-
_rev?: string | null;
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}
|
|
9
|
-
interface allDocOptions {
|
|
10
|
-
startkey?: string;
|
|
11
|
-
endkey?: string;
|
|
12
|
-
limit?: number;
|
|
13
|
-
skip?: number;
|
|
14
|
-
keys?: string[];
|
|
15
|
-
include_docs?: boolean;
|
|
16
|
-
}
|
|
17
|
-
interface changesOptions {
|
|
18
|
-
since?: number | "now";
|
|
19
|
-
live?: boolean;
|
|
20
|
-
limit?: number;
|
|
21
|
-
descending?: boolean;
|
|
22
|
-
include_docs?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare class LevelMe {
|
|
25
|
-
private name;
|
|
26
|
-
private static META_PREFIX;
|
|
27
|
-
private static DOC_PREFIX;
|
|
28
|
-
private static SEQ_PREFIX;
|
|
29
|
-
private changeEmitter;
|
|
30
|
-
private driver;
|
|
31
|
-
private cache;
|
|
32
|
-
private openingPromise;
|
|
33
|
-
constructor(location: string, name: string, provider: string);
|
|
34
|
-
private levelUpGet;
|
|
35
|
-
private findCachedBranchEnd;
|
|
36
|
-
private seqDocFromRoot;
|
|
37
|
-
private open;
|
|
38
|
-
info(): Promise<{
|
|
39
|
-
doc_count: string;
|
|
40
|
-
update_seq: number;
|
|
41
|
-
db_name: string;
|
|
42
|
-
data_size: number;
|
|
43
|
-
}>;
|
|
44
|
-
close(): Promise<void>;
|
|
45
|
-
backup(filename?: string): Promise<unknown>;
|
|
46
|
-
restore(filename: string): Promise<unknown>;
|
|
47
|
-
allDocs(options: allDocOptions): Promise<unknown>;
|
|
48
|
-
get(key: string, raw?: boolean): Promise<any>;
|
|
49
|
-
getMany(keys: string[]): Promise<any[]>;
|
|
50
|
-
getSeq(seq: string): Promise<Buffer>;
|
|
51
|
-
compact(): Promise<unknown>;
|
|
52
|
-
post(doc: document): Promise<{
|
|
53
|
-
ok: boolean;
|
|
54
|
-
id: string;
|
|
55
|
-
rev: string;
|
|
56
|
-
}>;
|
|
57
|
-
writeRaw(key: string, value: unknown): Promise<void>;
|
|
58
|
-
put(doc: document | unknown): Promise<{
|
|
59
|
-
ok: boolean;
|
|
60
|
-
id: string;
|
|
61
|
-
rev: string;
|
|
62
|
-
}>;
|
|
63
|
-
del(key: string): Promise<void>;
|
|
64
|
-
delSeq(keys: string[]): Promise<void>;
|
|
65
|
-
changes(): EventEmitter;
|
|
66
|
-
bulkDocs(docs: document[], options: {
|
|
67
|
-
new_edits: boolean;
|
|
68
|
-
force_rev?: string;
|
|
69
|
-
}): Promise<boolean>;
|
|
70
|
-
private prepareForWrite;
|
|
71
|
-
changesFromSeq(options: changesOptions): Promise<{
|
|
72
|
-
results: {
|
|
73
|
-
id: string;
|
|
74
|
-
changes: {
|
|
75
|
-
rev: string;
|
|
76
|
-
}[];
|
|
77
|
-
doc?: document;
|
|
78
|
-
seq: number;
|
|
79
|
-
}[];
|
|
80
|
-
last_seq: number;
|
|
81
|
-
}>;
|
|
82
|
-
}
|
|
83
|
-
export {};
|
|
84
|
-
//# sourceMappingURL=levelme.d.ts.map
|
package/lib/levelme.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"levelme.d.ts","sourceRoot":"","sources":["../src/levelme.ts"],"names":[],"mappings":";;AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAatC,UAAU,QAAQ;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAOD,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC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