@goliapkg/sentori-react-native 5.4.0 → 5.5.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/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +11 -0
- package/lib/index.js.map +1 -1
- package/lib/transport.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +12 -0
- package/src/transport.ts +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -35,5 +35,6 @@ export { triggerNativeCrash } from './native';
|
|
|
35
35
|
export { type NavigationRefLike, useTraceNavigation } from './navigation';
|
|
36
36
|
export type { AssertStat, Device, EventData, EventKind, Frame, InitConfig, SentoriApi, SentoriError, Signal, Surface, TraceOptions, User, WireEvent, WirePayload, } from '@goliapkg/sentori-core';
|
|
37
37
|
export { getLogLevel, type LogLevel, setLogLevel, type LogTransport, setLogTransport, } from '@goliapkg/sentori-core';
|
|
38
|
+
export { pushSignal } from '@goliapkg/sentori-core';
|
|
38
39
|
export * as push from './push';
|
|
39
40
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACV,SAAS,EACT,UAAU,EACV,YAAY,EACZ,IAAI,EACL,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,OAAO;IAClB,2DAA2D;IAC3D,IAAI,WAAW,UAAU,KAAG,IAAI;IAGhC;;4CAEwC;IACxC,IAAI,MAAM,IAAI,GAAG,IAAI,KAAG,IAAI;IAG5B;8CAC0C;IAC1C,OAAO,UAAU,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,IAAI;IAI/C;sEACkE;IAClE,KAAK,QAAQ,OAAO,SAAS,SAAS,KAAG,MAAM;IAC/C,kDAAkD;IAClD,IAAI,SAAS,MAAM,SAAS,SAAS,KAA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igation';
|
|
58
58
|
// Logger gate, for hosts debugging Sentori itself.
|
|
59
59
|
export { getLogLevel, setLogLevel, setLogTransport, } from '@goliapkg/sentori-core';
|
|
60
|
+
// The signal channel, for hosts feeding their own breadcrumbs into
|
|
61
|
+
// the ring (insight round-4 §4). Same O(1) fire-and-forget the
|
|
62
|
+
// auto signals use; entries ride payload.signals when an error/warn
|
|
63
|
+
// fires and appear on the case timeline + user-events panel.
|
|
64
|
+
//
|
|
65
|
+
// Field conventions the dashboard understands:
|
|
66
|
+
// pushSignal('http', { method, url, status, ms }) — a request's
|
|
67
|
+
// outcome (host's own interceptor is the right producer; the
|
|
68
|
+
// SDK deliberately does not monkey-patch fetch/XHR)
|
|
69
|
+
// any other kind renders with its data as `k=v` pairs.
|
|
70
|
+
export { pushSignal } from '@goliapkg/sentori-core';
|
|
60
71
|
// Push namespace — carried as-is; outside the v1 acceptance surface.
|
|
61
72
|
export * as push from './push';
|
|
62
73
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,EAAE;AACF,uEAAuE;AACvE,oEAAoE;AACpE,8CAA8C;AAC9C,EAAE;AACF,gEAAgE;AAChE,oEAAoE;AACpE,qEAAqE;AACrE,8DAA8D;AAE9D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAShC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,2DAA2D;IAC3D,IAAI,EAAE,CAAC,MAAkB,EAAQ,EAAE;QACjC,IAAI,CAAC,MAAM,CAAC,CAAC;IACf,CAAC;IACD;;4CAEwC;IACxC,IAAI,EAAE,CAAC,CAAc,EAAQ,EAAE;QAC7B,OAA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IAAI,EAAE,IAAI,CAAC;IAC/B;;mDAE+C;IAC/C,MAAM,EAAE,CAAC,IAAY,EAAE,EAAW,EAAE,IAAgB,EAAU,EAAE,CAC9D,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC;IAC9B;;qCAEiC;IACjC,KAAK,EAAE,CAAC,GAAW,EAAE,IAAgB,EAAU,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC;CACzE,CAAC;AAEF,eAAe,OAAO,CAAC;AAEvB,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,6DAA6D;AAC7D,oEAAoE;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,kEAAkE;AAClE,qEAAqE;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAA0B,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAoB1E,mDAAmD;AACnD,OAAO,EACL,WAAW,EAEX,WAAW,EAEX,eAAe,GAChB,MAAM,wBAAwB,CAAC;AAEhC,mEAAmE;AACnE,+DAA+D;AAC/D,oEAAoE;AACpE,6DAA6D;AAC7D,EAAE;AACF,+CAA+C;AAC/C,mEAAmE;AACnE,iEAAiE;AACjE,wDAAwD;AACxD,yDAAyD;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,qEAAqE;AACrE,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC"}
|
package/lib/transport.js
CHANGED
|
@@ -15,7 +15,7 @@ const MAX_RETRY = 3;
|
|
|
15
15
|
const STORAGE_KEY = '@sentori/pending';
|
|
16
16
|
const MAX_PERSISTED = 1000;
|
|
17
17
|
// Pinned to package.json by a test — bump both together.
|
|
18
|
-
const SDK_VERSION = '5.
|
|
18
|
+
const SDK_VERSION = '5.5.0';
|
|
19
19
|
let _queue = [];
|
|
20
20
|
let _assertStats = new Map();
|
|
21
21
|
let _flushTimer = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goliapkg/sentori-react-native",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "Sentori SDK for React Native \u2014 JS-layer error capture, native crash handlers (iOS / Android), batched transport, fetch + react-navigation tracing.",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"author": "GOLIA K.K. <takagi@golia.jp> (https://golia.jp)",
|
package/src/index.ts
CHANGED
|
@@ -97,5 +97,17 @@ export {
|
|
|
97
97
|
setLogTransport,
|
|
98
98
|
} from '@goliapkg/sentori-core';
|
|
99
99
|
|
|
100
|
+
// The signal channel, for hosts feeding their own breadcrumbs into
|
|
101
|
+
// the ring (insight round-4 §4). Same O(1) fire-and-forget the
|
|
102
|
+
// auto signals use; entries ride payload.signals when an error/warn
|
|
103
|
+
// fires and appear on the case timeline + user-events panel.
|
|
104
|
+
//
|
|
105
|
+
// Field conventions the dashboard understands:
|
|
106
|
+
// pushSignal('http', { method, url, status, ms }) — a request's
|
|
107
|
+
// outcome (host's own interceptor is the right producer; the
|
|
108
|
+
// SDK deliberately does not monkey-patch fetch/XHR)
|
|
109
|
+
// any other kind renders with its data as `k=v` pairs.
|
|
110
|
+
export { pushSignal } from '@goliapkg/sentori-core';
|
|
111
|
+
|
|
100
112
|
// Push namespace — carried as-is; outside the v1 acceptance surface.
|
|
101
113
|
export * as push from './push';
|
package/src/transport.ts
CHANGED
|
@@ -20,7 +20,7 @@ const STORAGE_KEY = '@sentori/pending';
|
|
|
20
20
|
const MAX_PERSISTED = 1000;
|
|
21
21
|
|
|
22
22
|
// Pinned to package.json by a test — bump both together.
|
|
23
|
-
const SDK_VERSION = '5.
|
|
23
|
+
const SDK_VERSION = '5.5.0';
|
|
24
24
|
|
|
25
25
|
let _queue: WireEvent[] = [];
|
|
26
26
|
let _assertStats = new Map<string, AssertStat>();
|