@jsm-mit/tigi-sharded-package 0.14.0 → 0.15.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/README.md +12 -10
- package/declarations/coordinator/coordinator.did +2 -2
- package/declarations/coordinator/coordinator.did.d.ts +2 -2
- package/declarations/core/core.did +9 -9
- package/declarations/core/core.did.d.ts +9 -9
- package/declarations/core/core.did.js +5 -5
- package/dist/actors/driver-canisters-actor.d.ts +8 -8
- package/dist/actors/driver-canisters-actor.d.ts.map +1 -1
- package/dist/actors/driver-canisters-actor.js +8 -8
- package/dist/interfaces.d.ts +8 -8
- package/dist/interfaces.d.ts.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -12,8 +12,10 @@ demo lease and the one-time claim code; 0.4.0 (route line, 2026-10-24) adds the
|
|
|
12
12
|
route on the map — the line of a tapped offer, the line of the ride — and the exact pin of
|
|
13
13
|
an offer (`pinExact`); 0.5.0 (stage 7, ride history, 2026-10-24) adds the places of a past
|
|
14
14
|
ride (Skąd, Dokąd) and the rating of a past ride from the history; 0.13.0 (2026-11-06) adds
|
|
15
|
-
the map-routes
|
|
16
|
-
group of the environment (`mapRoutesCoordinatorAsyncUnsafe`)
|
|
15
|
+
the map-routes ticket of a driver (`mapTicketAsyncUnsafe`); 0.14.0 (2026-11-07) adds the map
|
|
16
|
+
group of the environment (`mapRoutesCoordinatorAsyncUnsafe`); 0.15.0 (2026-11-08) renames the map
|
|
17
|
+
"pass" to "ticket" (`mapPassAsyncUnsafe` → `mapTicketAsyncUnsafe`, `MapTicketRequest`, `MapTicketView`,
|
|
18
|
+
the field `ticket`), together with the map package 0.4. Version 0.1.0 was the first to
|
|
17
19
|
publish.
|
|
18
20
|
|
|
19
21
|
## The rider
|
|
@@ -157,23 +159,23 @@ if (code) {
|
|
|
157
159
|
- The same holder leasing again (no reinstall) gets no code: `newClaimCodeAsyncUnsafe`.
|
|
158
160
|
- These views carry the driver canister's id: it is the driver's own address.
|
|
159
161
|
|
|
160
|
-
### The map-routes
|
|
162
|
+
### The map-routes ticket of a driver (0.13.0, C-29, C-30)
|
|
161
163
|
|
|
162
|
-
The routes come from the map-routes group (`@jsm-mit/map-routes-package` 0.
|
|
163
|
-
`MapRoutesClient`). Its replicated instances answer only with a
|
|
164
|
-
gives the
|
|
164
|
+
The routes come from the map-routes group (`@jsm-mit/map-routes-replicated-shards-package` 0.4,
|
|
165
|
+
`MapRoutesClient`). Its replicated instances answer only with a ticket, and the Tigi core
|
|
166
|
+
gives the ticket to a driver: own, bought or leased driver canister, or a demo canister the
|
|
165
167
|
driver took over with a claim code (its owner on its own front). The answer has the shape of
|
|
166
|
-
`
|
|
168
|
+
`IssuedTicket` of the map package, so it is its `ticketProvider` as it is:
|
|
167
169
|
|
|
168
170
|
```ts
|
|
169
|
-
import { MapRoutesClient } from "@jsm-mit/map-routes-package";
|
|
171
|
+
import { MapRoutesClient } from "@jsm-mit/map-routes-replicated-shards-package";
|
|
170
172
|
|
|
171
173
|
const canisters = new DriverCanistersActor(coordinatorId, identity, { host });
|
|
172
174
|
const mapCoordinatorId = await canisters.mapRoutesCoordinatorAsyncUnsafe(); // undefined: no map group here
|
|
173
|
-
const map = new MapRoutesClient({ coordinatorId: mapCoordinatorId!, identity,
|
|
175
|
+
const map = new MapRoutesClient({ coordinatorId: mapCoordinatorId!, identity, ticketProvider: (r) => canisters.mapTicketAsyncUnsafe(r) });
|
|
174
176
|
```
|
|
175
177
|
|
|
176
|
-
- The driver queries the map with the SAME identity that asked for the
|
|
178
|
+
- The driver queries the map with the SAME identity that asked for the ticket.
|
|
177
179
|
- Refusals of the map group come back as `CanisterError` `RemoteCanisterError` with the
|
|
178
180
|
variant first (`"Blocked: …"`, `"RateLimited: …"`); no map group in this environment is
|
|
179
181
|
`InvalidData`; somebody without a driver canister is refused at inspection.
|
|
@@ -699,9 +699,9 @@ service : (InitArgs) -> {
|
|
|
699
699
|
// failed after the canister was made. Outside prod a reinstall: the same canister, fresh
|
|
700
700
|
// state, no create fee.
|
|
701
701
|
installWorker : (CanisterArgs) -> (Result_4);
|
|
702
|
-
// "Is this canister a core of your group?" — the
|
|
702
|
+
// "Is this canister a core of your group?" — the ticket core of the map-routes group asks once
|
|
703
703
|
// per unknown caller and remembers the answer: there the SYSTEM is this coordinator, and a
|
|
704
|
-
// core of Tigi names it when it asks for a driver's map
|
|
704
|
+
// core of Tigi names it when it asks for a driver's map ticket (replicated-shards.md). One core
|
|
705
705
|
// today; the cores of a budded group later.
|
|
706
706
|
isGroupCore : (principal) -> (bool) query;
|
|
707
707
|
// "Is this canister one of your workers?" — the core asks once per unknown caller.
|
|
@@ -1095,9 +1095,9 @@ export interface _SERVICE {
|
|
|
1095
1095
|
*/
|
|
1096
1096
|
'installWorker' : ActorMethod<[CanisterArgs], Result_4>,
|
|
1097
1097
|
/**
|
|
1098
|
-
* "Is this canister a core of your group?" — the
|
|
1098
|
+
* "Is this canister a core of your group?" — the ticket core of the map-routes group asks once
|
|
1099
1099
|
* per unknown caller and remembers the answer: there the SYSTEM is this coordinator, and a
|
|
1100
|
-
* core of Tigi names it when it asks for a driver's map
|
|
1100
|
+
* core of Tigi names it when it asks for a driver's map ticket (replicated-shards.md). One core
|
|
1101
1101
|
* today; the cores of a budded group later.
|
|
1102
1102
|
*/
|
|
1103
1103
|
'isGroupCore' : ActorMethod<[Principal], boolean>,
|
|
@@ -145,12 +145,12 @@ type TigiCore =
|
|
|
145
145
|
listDriverFeeAccounts: (args: PageArgs) -> (Result_15) query;
|
|
146
146
|
/// Admins: the driver rooms as the core wants them, 100 a page at most.
|
|
147
147
|
listDriverRooms: (args: PageArgs) -> (Result_14) query;
|
|
148
|
-
/// C-29, C-30: the map
|
|
148
|
+
/// C-29, C-30: the map ticket of the calling driver (own or demo driver canister, not
|
|
149
149
|
/// blocked), for an area and a bbox. The core asks the map coordinator WHERE (once, kept)
|
|
150
|
-
/// and that
|
|
150
|
+
/// and that ticket core for the ticket of the caller; a failed call forgets the place and is
|
|
151
151
|
/// tried once more. A refusal of the map group comes back as `RemoteCanisterError` with
|
|
152
152
|
/// its variant first ("Blocked: …").
|
|
153
|
-
|
|
153
|
+
mapTicket: (args: MapTicketArgs) -> (Result_13);
|
|
154
154
|
/// F-20: a fresh claim code for the caller's running demo lease; the old one stops
|
|
155
155
|
/// working.
|
|
156
156
|
newClaimCode: () -> (Result_12);
|
|
@@ -186,7 +186,7 @@ type TigiCore =
|
|
|
186
186
|
setLowCyclesBelow: (value: nat) -> (Result_2);
|
|
187
187
|
/// C-28, admins: the map-routes group of this environment (its coordinator). The Tigi
|
|
188
188
|
/// coordinator is the system there (`setSystem` in the map coordinator's front); the core
|
|
189
|
-
/// names it in every `
|
|
189
|
+
/// names it in every `issueTicket` (C-29).
|
|
190
190
|
setMapRoutesConfig: (args: MapRoutesConfig) -> (Result_5);
|
|
191
191
|
setMyProfile: (args: SetProfileArgs) -> (Result_4);
|
|
192
192
|
/// F-21 (2026-10-24, route line): admins — the one principal that routes the simulator's
|
|
@@ -456,7 +456,7 @@ type Result_14 =
|
|
|
456
456
|
type Result_13 =
|
|
457
457
|
variant {
|
|
458
458
|
err: Error;
|
|
459
|
-
ok:
|
|
459
|
+
ok: MapTicket;
|
|
460
460
|
};
|
|
461
461
|
type Result_12 =
|
|
462
462
|
variant {
|
|
@@ -550,20 +550,20 @@ type Mode =
|
|
|
550
550
|
stage;
|
|
551
551
|
test;
|
|
552
552
|
};
|
|
553
|
-
type
|
|
554
|
-
type MapPassArgs =
|
|
553
|
+
type MapTicketArgs =
|
|
555
554
|
record {
|
|
556
555
|
area: text;
|
|
557
556
|
bbox: MapBbox;
|
|
558
557
|
};
|
|
559
|
-
type
|
|
558
|
+
type MapTicket =
|
|
560
559
|
record {
|
|
561
560
|
area: text;
|
|
562
561
|
bbox: MapBbox;
|
|
563
562
|
copy: principal;
|
|
564
|
-
|
|
563
|
+
ticket: blob;
|
|
565
564
|
validUntilNs: nat64;
|
|
566
565
|
};
|
|
566
|
+
type MapRoutesConfig = record {coordinatorId: principal;};
|
|
567
567
|
type MapBbox =
|
|
568
568
|
record {
|
|
569
569
|
maxLat: float64;
|
|
@@ -235,15 +235,15 @@ export interface MapBbox {
|
|
|
235
235
|
'maxLat' : number,
|
|
236
236
|
'maxLon' : number,
|
|
237
237
|
}
|
|
238
|
-
export interface
|
|
238
|
+
export interface MapRoutesConfig { 'coordinatorId' : Principal }
|
|
239
|
+
export interface MapTicket {
|
|
240
|
+
'ticket' : Uint8Array | number[],
|
|
239
241
|
'area' : string,
|
|
240
242
|
'bbox' : MapBbox,
|
|
241
243
|
'copy' : Principal,
|
|
242
|
-
'pass' : Uint8Array | number[],
|
|
243
244
|
'validUntilNs' : bigint,
|
|
244
245
|
}
|
|
245
|
-
export interface
|
|
246
|
-
export interface MapRoutesConfig { 'coordinatorId' : Principal }
|
|
246
|
+
export interface MapTicketArgs { 'area' : string, 'bbox' : MapBbox }
|
|
247
247
|
export type Mode = { 'localTest' : null } |
|
|
248
248
|
{ 'prod' : null } |
|
|
249
249
|
{ 'test' : null } |
|
|
@@ -289,7 +289,7 @@ export type Result_11 = { 'ok' : FeePaid } |
|
|
|
289
289
|
{ 'err' : Error };
|
|
290
290
|
export type Result_12 = { 'ok' : ClaimCode } |
|
|
291
291
|
{ 'err' : Error };
|
|
292
|
-
export type Result_13 = { 'ok' :
|
|
292
|
+
export type Result_13 = { 'ok' : MapTicket } |
|
|
293
293
|
{ 'err' : Error };
|
|
294
294
|
export type Result_14 = { 'ok' : Array<DriverRoomView> } |
|
|
295
295
|
{ 'err' : Error };
|
|
@@ -605,13 +605,13 @@ export interface TigiCore {
|
|
|
605
605
|
*/
|
|
606
606
|
'listDriverRooms' : ActorMethod<[PageArgs], Result_14>,
|
|
607
607
|
/**
|
|
608
|
-
* / C-29, C-30: the map
|
|
608
|
+
* / C-29, C-30: the map ticket of the calling driver (own or demo driver canister, not
|
|
609
609
|
* / blocked), for an area and a bbox. The core asks the map coordinator WHERE (once, kept)
|
|
610
|
-
* / and that
|
|
610
|
+
* / and that ticket core for the ticket of the caller; a failed call forgets the place and is
|
|
611
611
|
* / tried once more. A refusal of the map group comes back as `RemoteCanisterError` with
|
|
612
612
|
* / its variant first ("Blocked: …").
|
|
613
613
|
*/
|
|
614
|
-
'
|
|
614
|
+
'mapTicket' : ActorMethod<[MapTicketArgs], Result_13>,
|
|
615
615
|
/**
|
|
616
616
|
* / F-20: a fresh claim code for the caller's running demo lease; the old one stops
|
|
617
617
|
* / working.
|
|
@@ -666,7 +666,7 @@ export interface TigiCore {
|
|
|
666
666
|
/**
|
|
667
667
|
* / C-28, admins: the map-routes group of this environment (its coordinator). The Tigi
|
|
668
668
|
* / coordinator is the system there (`setSystem` in the map coordinator's front); the core
|
|
669
|
-
* / names it in every `
|
|
669
|
+
* / names it in every `issueTicket` (C-29).
|
|
670
670
|
*/
|
|
671
671
|
'setMapRoutesConfig' : ActorMethod<[MapRoutesConfig], Result_5>,
|
|
672
672
|
'setMyProfile' : ActorMethod<[SetProfileArgs], Result_4>,
|
|
@@ -406,15 +406,15 @@ export const idlFactory = ({ IDL }) => {
|
|
|
406
406
|
'maxLat' : IDL.Float64,
|
|
407
407
|
'maxLon' : IDL.Float64,
|
|
408
408
|
});
|
|
409
|
-
const
|
|
410
|
-
const
|
|
409
|
+
const MapTicketArgs = IDL.Record({ 'area' : IDL.Text, 'bbox' : MapBbox });
|
|
410
|
+
const MapTicket = IDL.Record({
|
|
411
|
+
'ticket' : IDL.Vec(IDL.Nat8),
|
|
411
412
|
'area' : IDL.Text,
|
|
412
413
|
'bbox' : MapBbox,
|
|
413
414
|
'copy' : IDL.Principal,
|
|
414
|
-
'pass' : IDL.Vec(IDL.Nat8),
|
|
415
415
|
'validUntilNs' : IDL.Nat64,
|
|
416
416
|
});
|
|
417
|
-
const Result_13 = IDL.Variant({ 'ok' :
|
|
417
|
+
const Result_13 = IDL.Variant({ 'ok' : MapTicket, 'err' : Error });
|
|
418
418
|
const Result_12 = IDL.Variant({ 'ok' : ClaimCode, 'err' : Error });
|
|
419
419
|
const FeePayArgs = IDL.Record({ 'day' : IDL.Nat });
|
|
420
420
|
const FeePaid = IDL.Record({
|
|
@@ -524,7 +524,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
524
524
|
'listDriverCanisters' : IDL.Func([PageArgs], [Result_16], ['query']),
|
|
525
525
|
'listDriverFeeAccounts' : IDL.Func([PageArgs], [Result_15], ['query']),
|
|
526
526
|
'listDriverRooms' : IDL.Func([PageArgs], [Result_14], ['query']),
|
|
527
|
-
'
|
|
527
|
+
'mapTicket' : IDL.Func([MapTicketArgs], [Result_13], []),
|
|
528
528
|
'newClaimCode' : IDL.Func([], [Result_12], []),
|
|
529
529
|
'payDriverFee' : IDL.Func([FeePayArgs], [Result_11], []),
|
|
530
530
|
'quoteMyDriverCanister' : IDL.Func([], [Result_10], []),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Identity } from "@icp-sdk/core/agent";
|
|
2
2
|
import type { ClaimCode as CandidClaimCode, DriverCanister as CandidDriverCanister } from "../../declarations/core/core.did.js";
|
|
3
3
|
import { type GroupOptions } from "../group/canister-actor.js";
|
|
4
|
-
import type { ClaimCodeView, DemoLeaseView, DriverCanisterQuoteView, DriverCanisterView,
|
|
4
|
+
import type { ClaimCodeView, DemoLeaseView, DriverCanisterQuoteView, DriverCanisterView, MapTicketRequest, MapTicketView } from "../interfaces.js";
|
|
5
5
|
/** The fragment key of a claim link: `https://<canister>.icp0.io/#claim=<code>`. */
|
|
6
6
|
export declare const CLAIM_FRAGMENT_KEY = "claim";
|
|
7
7
|
/** F-20a: a code is 32 characters of base64url; the core refuses more than this. */
|
|
@@ -100,12 +100,12 @@ export declare class DriverCanistersActor {
|
|
|
100
100
|
*/
|
|
101
101
|
mapRoutesCoordinatorAsyncUnsafe(): Promise<string | undefined>;
|
|
102
102
|
/**
|
|
103
|
-
* C-29, C-30: the map-routes
|
|
104
|
-
* blocked) for an area and a bbox. The core asks the map group's coordinator which
|
|
105
|
-
* core serves the driver and gets the
|
|
106
|
-
* `
|
|
107
|
-
* `MapRoutesClient` as it is: `new MapRoutesClient({ ...,
|
|
108
|
-
* The driver queries the map with the identity that asked for the
|
|
103
|
+
* C-29, C-30: the map-routes ticket of the calling driver (own or demo driver canister, not
|
|
104
|
+
* blocked) for an area and a bbox. The core asks the map group's coordinator which ticket
|
|
105
|
+
* core serves the driver and gets the ticket there. The answer has the shape of
|
|
106
|
+
* `IssuedTicket` of `@jsm-mit/map-routes-replicated-shards-package`, so it is the `ticketProvider` of its
|
|
107
|
+
* `MapRoutesClient` as it is: `new MapRoutesClient({ ..., ticketProvider: (r) => driverCanisters.mapTicketAsyncUnsafe(r) })`.
|
|
108
|
+
* The driver queries the map with the identity that asked for the ticket.
|
|
109
109
|
* @throws Error with message `CanisterError` — `NotAuthorized` (no driver canister, or it is
|
|
110
110
|
* blocked), `InvalidData` (a bad area or bbox, or no map group in this environment),
|
|
111
111
|
* `RemoteCanisterError` ("<Variant>: <reason>" of the map group, e.g. "Blocked: …",
|
|
@@ -113,6 +113,6 @@ export declare class DriverCanistersActor {
|
|
|
113
113
|
* @throws Error with message `CallRefusedAtInspectionStage` — anonymous, or not a driver
|
|
114
114
|
* @throws Error with message `CriticalCanisterError` — the core could not be reached
|
|
115
115
|
*/
|
|
116
|
-
|
|
116
|
+
mapTicketAsyncUnsafe(request: MapTicketRequest): Promise<MapTicketView>;
|
|
117
117
|
}
|
|
118
118
|
//# sourceMappingURL=driver-canisters-actor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver-canisters-actor.d.ts","sourceRoot":"","sources":["../../src/actors/driver-canisters-actor.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,OAAO,KAAK,EAAE,SAAS,IAAI,eAAe,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChI,OAAO,EAAk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QAAQ,EAAE,OAAO,GAAE,YAAiB;IAIjF;;;;;;;;;OASG;IACU,oBAAoB,IAAI,OAAO,CAAC,aAAa,CAAC;IAS3D;;;;;;OAMG;IACU,qBAAqB,IAAI,OAAO,CAAC,kBAAkB,CAAC;IAIjE;;;;;;OAMG;IACU,kBAAkB,IAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC;IAS1E;;;;;;OAMG;IACU,gBAAgB,IAAI,OAAO,CAAC,uBAAuB,CAAC;IAMjE;;;;;;;;;OASG;IACU,cAAc,IAAI,OAAO,CAAC,kBAAkB,CAAC;IAI1D;;;;;;;OAOG;IACU,uBAAuB,IAAI,OAAO,CAAC,aAAa,CAAC;IAI9D;;;;;;;;;;;OAWG;IACU,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAW5F;;;;;OAKG;IACU,+BAA+B,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAM3E;;;;;;;;;;;;;OAaG;IACU,oBAAoB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,aAAa,CAAC;CAGvF"}
|
|
@@ -180,12 +180,12 @@ export class DriverCanistersActor {
|
|
|
180
180
|
return answer[0]?.coordinatorId.toText();
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
|
-
* C-29, C-30: the map-routes
|
|
184
|
-
* blocked) for an area and a bbox. The core asks the map group's coordinator which
|
|
185
|
-
* core serves the driver and gets the
|
|
186
|
-
* `
|
|
187
|
-
* `MapRoutesClient` as it is: `new MapRoutesClient({ ...,
|
|
188
|
-
* The driver queries the map with the identity that asked for the
|
|
183
|
+
* C-29, C-30: the map-routes ticket of the calling driver (own or demo driver canister, not
|
|
184
|
+
* blocked) for an area and a bbox. The core asks the map group's coordinator which ticket
|
|
185
|
+
* core serves the driver and gets the ticket there. The answer has the shape of
|
|
186
|
+
* `IssuedTicket` of `@jsm-mit/map-routes-replicated-shards-package`, so it is the `ticketProvider` of its
|
|
187
|
+
* `MapRoutesClient` as it is: `new MapRoutesClient({ ..., ticketProvider: (r) => driverCanisters.mapTicketAsyncUnsafe(r) })`.
|
|
188
|
+
* The driver queries the map with the identity that asked for the ticket.
|
|
189
189
|
* @throws Error with message `CanisterError` — `NotAuthorized` (no driver canister, or it is
|
|
190
190
|
* blocked), `InvalidData` (a bad area or bbox, or no map group in this environment),
|
|
191
191
|
* `RemoteCanisterError` ("<Variant>: <reason>" of the map group, e.g. "Blocked: …",
|
|
@@ -193,7 +193,7 @@ export class DriverCanistersActor {
|
|
|
193
193
|
* @throws Error with message `CallRefusedAtInspectionStage` — anonymous, or not a driver
|
|
194
194
|
* @throws Error with message `CriticalCanisterError` — the core could not be reached
|
|
195
195
|
*/
|
|
196
|
-
async
|
|
197
|
-
return executeAsyncUnsafe(async () => (await this.group.coreAsync()).
|
|
196
|
+
async mapTicketAsyncUnsafe(request) {
|
|
197
|
+
return executeAsyncUnsafe(async () => (await this.group.coreAsync()).mapTicket({ area: request.area, bbox: request.bbox }));
|
|
198
198
|
}
|
|
199
199
|
}
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -276,25 +276,25 @@ export type DemoLeaseView = {
|
|
|
276
276
|
kind: "busy";
|
|
277
277
|
untilMs: number;
|
|
278
278
|
};
|
|
279
|
-
/** C-29: a rectangle in degrees (the bbox of a map-routes
|
|
279
|
+
/** C-29: a rectangle in degrees (the bbox of a map-routes ticket). */
|
|
280
280
|
export interface MapBboxView {
|
|
281
281
|
minLat: number;
|
|
282
282
|
minLon: number;
|
|
283
283
|
maxLat: number;
|
|
284
284
|
maxLon: number;
|
|
285
285
|
}
|
|
286
|
-
/** C-29: what a driver asks a map-routes
|
|
287
|
-
export interface
|
|
286
|
+
/** C-29: what a driver asks a map-routes ticket for: an area of the map group and a bbox in it. */
|
|
287
|
+
export interface MapTicketRequest {
|
|
288
288
|
area: string;
|
|
289
289
|
bbox: MapBboxView;
|
|
290
290
|
}
|
|
291
291
|
/**
|
|
292
|
-
* C-29: the map-routes
|
|
293
|
-
*
|
|
294
|
-
* of `
|
|
292
|
+
* C-29: the map-routes ticket of a driver, as the map group's ticket core issued it: the signed
|
|
293
|
+
* ticket, the replicated instance (`copy`) it is good on, its end and what it covers. The shape
|
|
294
|
+
* of `IssuedTicket` of `@jsm-mit/map-routes-replicated-shards-package`.
|
|
295
295
|
*/
|
|
296
|
-
export interface
|
|
297
|
-
|
|
296
|
+
export interface MapTicketView {
|
|
297
|
+
ticket: Uint8Array | number[];
|
|
298
298
|
copy: Principal;
|
|
299
299
|
validUntilNs: bigint;
|
|
300
300
|
area: string;
|
package/dist/interfaces.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,YAAY,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,wEAAwE;AACxE,MAAM,WAAW,KAAK;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,WAAW,GAAG,eAAe,GAAG,MAAM,GAAG,aAAa,GAAG,OAAO,CAAC;AAE7E,iFAAiF;AACjF,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,WAAW,CAAC;IACzB,4DAA4D;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,eAAe,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEhF;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a,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAExI,sEAAsE;AACtE,MAAM,WAAW,WAAW;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,mGAAmG;AACnG,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACrB;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,UAAU,GAAG,MAAM,EAAE,CAAC;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACrB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsm-mit/tigi-sharded-package",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "The one package of the Tigi network group: takes the coordinator's id and hides the coordinator, the core and the workers — for a consumer the group is one canister; plus the rider's few driver-canister endpoints (U-14).",
|
|
5
5
|
"homepage": "https://github.com/JSM-Tigi/tigi-sharded/tree/master/package#readme",
|
|
6
6
|
"repository": {
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"tigiSharded": {
|
|
62
62
|
"repo": "tigi-sharded",
|
|
63
63
|
"repoUrl": "https://github.com/JSM-Tigi/tigi-sharded",
|
|
64
|
-
"commit": "
|
|
64
|
+
"commit": "1c8e5adbe6e99d27d6493f1c870e42e4c9f72067"
|
|
65
65
|
},
|
|
66
66
|
"tigiDriverRust": {
|
|
67
67
|
"repo": "tigi-driver-rust",
|
|
68
68
|
"repoUrl": "https://github.com/JSM-Tigi/tigi-driver-rust",
|
|
69
|
-
"commit": "
|
|
69
|
+
"commit": "90bc1d89f86c40b504e7f8d80ca209c1d5c10353"
|
|
70
70
|
}
|
|
71
71
|
}
|