@atproto/dev-env 0.3.34-rc.0 → 0.3.34
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -32
- package/dist/bsky.d.ts.map +1 -1
- package/dist/bsky.js +1 -1
- package/dist/bsky.js.map +1 -1
- package/dist/mock/index.d.ts.map +1 -1
- package/dist/mock/index.js +72 -54
- package/dist/mock/index.js.map +1 -1
- package/dist/moderator-client.d.ts +1 -1
- package/dist/moderator-client.d.ts.map +1 -1
- package/dist/moderator-client.js +5 -5
- package/dist/moderator-client.js.map +1 -1
- package/dist/ozone-service-profile.d.ts.map +1 -1
- package/dist/ozone-service-profile.js +12 -11
- package/dist/ozone-service-profile.js.map +1 -1
- package/dist/ozone.d.ts.map +1 -1
- package/dist/ozone.js +1 -3
- package/dist/ozone.js.map +1 -1
- package/dist/pds.js +1 -1
- package/dist/pds.js.map +1 -1
- package/dist/seed/client.d.ts +2 -2
- package/dist/seed/client.d.ts.map +1 -1
- package/dist/seed/client.js +21 -21
- package/dist/seed/client.js.map +1 -1
- package/package.json +8 -8
- package/src/bsky.ts +2 -2
- package/src/mock/index.ts +114 -95
- package/src/moderator-client.ts +11 -9
- package/src/ozone-service-profile.ts +29 -21
- package/src/ozone.ts +3 -5
- package/src/pds.ts +1 -1
- package/src/seed/client.ts +23 -30
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ozone-service-profile.js","sourceRoot":"","sources":["../src/ozone-service-profile.ts"],"names":[],"mappings":";;;AAEA,4CAAkD;AAElD,MAAa,mBAAmB;IAW9B,YAA0B,aAAsB;QAA7B;;;;mBAAO,aAAa;WAAS;QAVhD;;;;;WAAY;QACZ;;;;;WAAsB;QACtB;;;;;WAA6B;QAE7B;;;;mBAAiB;gBACf,KAAK,EAAE,wBAAwB;gBAC/B,MAAM,EAAE,oBAAoB;gBAC5B,QAAQ,EAAE,SAAS;aACpB;WAAA;QAGC,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,CAAA;IAC3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BhB,CAAA"}
|
package/dist/ozone.js
CHANGED
@@ -153,9 +153,7 @@ class TestOzone {
|
|
153
153
|
return this.server.ctx;
|
154
154
|
}
|
155
155
|
getClient() {
|
156
|
-
|
157
|
-
agent.configureLabelers([const_1.EXAMPLE_LABELER]);
|
158
|
-
return agent;
|
156
|
+
return new api_1.AtpAgent({ service: this.url });
|
159
157
|
}
|
160
158
|
getModClient() {
|
161
159
|
return new moderator_client_1.ModeratorClient(this);
|
package/dist/ozone.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ozone.js","sourceRoot":"","sources":["../src/ozone.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAA8B;AAC9B,iDAAkC;AAClC,kDAAmC;AACnC,sDAAuC;AACvC,sCAAuC;AACvC,sDAAuD;AACvD,4CAA2D;AAE3D,
|
1
|
+
{"version":3,"file":"ozone.js","sourceRoot":"","sources":["../src/ozone.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAA8B;AAC9B,iDAAkC;AAClC,kDAAmC;AACnC,sDAAuC;AACvC,sCAAuC;AACvC,sDAAuD;AACvD,4CAA2D;AAE3D,mCAAwC;AACxC,iCAAwC;AACxC,yDAAoD;AAEpD,MAAa,SAAS;IACpB,YACS,GAAW,EACX,IAAY,EACZ,MAA0B,EAC1B,MAAyB,EACzB,UAAqB,EACrB,cAAyB,EACzB,WAAsB;QAN7B;;;;mBAAO,GAAG;WAAQ;QAClB;;;;mBAAO,IAAI;WAAQ;QACnB;;;;mBAAO,MAAM;WAAoB;QACjC;;;;mBAAO,MAAM;WAAmB;QAChC;;;;mBAAO,UAAU;WAAW;QAC5B;;;;mBAAO,cAAc;WAAW;QAChC;;;;mBAAO,WAAW;WAAW;IAC5B,CAAC;IAEJ,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAmB;QACrC,MAAM,cAAc,GAClB,MAAM,CAAC,UAAU,IAAI,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c,GAAG,KAAK,EACjC,MAAc,EACd,OAAgB,EACC,EAAE;IACnB,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IACxC,MAAM,KAAK,GAAG,MAAM,GAAG,CAAC,aAAa,CACnC;QACE,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,EAAE;QACf,YAAY,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;QAC7B,mBAAmB,EAAE;YACnB,aAAa,EAAE,OAAO,CAAC,GAAG,EAAE;SAC7B;QACD,QAAQ,EAAE;YACR,eAAe,EAAE;gBACf,IAAI,EAAE,gBAAgB;gBACtB,QAAQ,EAAE,0BAA0B;aACrC;SACF;QACD,IAAI,EAAE,IAAI;KACX,EACD,OAAO,CACR,CAAA;IACD,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,cAAc,CAAC,KAAK,CAAC,CAAA;IAC3C,MAAM,SAAS,CAAC,aAAa,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;IACzC,OAAO,GAAG,CAAA;AACZ,CAAC,CAAA;AA1BY,QAAA,cAAc,kBA0B1B"}
|
package/dist/pds.js
CHANGED
@@ -105,7 +105,7 @@ class TestPds {
|
|
105
105
|
}
|
106
106
|
getClient() {
|
107
107
|
const agent = new api_1.AtpAgent({ service: this.url });
|
108
|
-
agent.
|
108
|
+
agent.configureLabelersHeader([const_1.EXAMPLE_LABELER]);
|
109
109
|
return agent;
|
110
110
|
}
|
111
111
|
adminAuth() {
|
package/dist/pds.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pds.js","sourceRoot":"","sources":["../src/pds.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4B;AAC5B,sDAAwB;AACxB,gEAAiC;AACjC,wDAA8B;AAC9B,iDAAkC;AAClC,kDAAmC;AACnC,sCAAoD;AACpD,4CAA6D;AAC7D,sCAAuC;AAEvC,mCAAqE;AA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CAAC,UAAU,CAAC,SAAS,sBAAc,EAAE,EAAE,MAAM,CAAC,EACjD,WAAW,CACZ,CACF,CAAA;IACH,CAAC;IAED,gBAAgB;QACd,OAAO;YACL,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE;SAChC,CAAA;IACH,CAAC;IAED,YAAY;QACV,OAAO,IAAA,2BAAqB,EAAC,kBAAU,CAAC,CAAA;IAC1C,CAAC;IAED,KAAK,CAAC,UAAU;QACd,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,UAAU,EAAE,CAAA;IAC7C,CAAC;IAED,KAAK,CAAC,KAAK;QACT,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;IAC7B,CAAC;CACF;AA9FD,0BA8FC"}
|
package/dist/seed/client.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CID } from 'multiformats/cid';
|
2
|
-
import { ComAtprotoModerationCreateReport, AppBskyFeedPost, AppBskyRichtextFacet, AppBskyFeedLike, AppBskyGraphFollow, AppBskyGraphList
|
2
|
+
import AtpAgent, { ComAtprotoModerationCreateReport, AppBskyFeedPost, AppBskyRichtextFacet, AppBskyFeedLike, AppBskyGraphFollow, AppBskyGraphList } from '@atproto/api';
|
3
3
|
import { AtUri } from '@atproto/syntax';
|
4
4
|
import { BlobRef } from '@atproto/lexicon';
|
5
5
|
import { TestNetworkNoAppView } from '../network-no-appview';
|
@@ -91,8 +91,8 @@ export declare class SeedClient<Network extends TestNetworkNoAppView = TestNetwo
|
|
91
91
|
cid: string;
|
92
92
|
mimeType: string;
|
93
93
|
};
|
94
|
+
joinedViaStarterPack: RecordRef | undefined;
|
94
95
|
ref: RecordRef;
|
95
|
-
joinedViaStarterPack?: RecordRef;
|
96
96
|
}>;
|
97
97
|
updateProfile(by: string, record: Record<string, unknown>): Promise<{
|
98
98
|
displayName: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/seed/client.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Z,MAAM,EAAE,MAAM,EAAE,EAChB,KAAK,CAAC,EAAE,MAAM,EAAE;IA2BZ,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS;IActD,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS;IAYvD,YAAY,CAAC,IAAI,EAAE;QACvB,UAAU,EAAE,gCAAgC,CAAC,WAAW,CAAC,YAAY,CAAC,CAAA;QACtE,OAAO,EAAE,gCAAgC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;QAChE,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,UAAU,EAAE,MAAM,CAAA;KACnB;IAYD,UAAU,CAAC,GAAG,EAAE,MAAM;;;IAItB,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM;;;CAG9B"}
|
package/dist/seed/client.js
CHANGED
@@ -141,7 +141,7 @@ class SeedClient {
|
|
141
141
|
this.dids = {};
|
142
142
|
}
|
143
143
|
async createAccount(shortName, params) {
|
144
|
-
const { data: account } = await this.agent.com.atproto.server.createAccount(params);
|
144
|
+
const { data: account } = await this.agent.api.com.atproto.server.createAccount(params);
|
145
145
|
this.dids[shortName] = account.did;
|
146
146
|
this.accounts[account.did] = {
|
147
147
|
...account,
|
@@ -151,20 +151,20 @@ class SeedClient {
|
|
151
151
|
return this.accounts[account.did];
|
152
152
|
}
|
153
153
|
async updateHandle(by, handle) {
|
154
|
-
await this.agent.com.atproto.identity.updateHandle({ handle }, { encoding: 'application/json', headers: this.getHeaders(by) });
|
154
|
+
await this.agent.api.com.atproto.identity.updateHandle({ handle }, { encoding: 'application/json', headers: this.getHeaders(by) });
|
155
155
|
}
|
156
156
|
async createProfile(by, displayName, description, selfLabels, joinedViaStarterPack) {
|
157
157
|
AVATAR_IMG ?? (AVATAR_IMG = await promises_1.default.readFile('../dev-env/src/seed/img/key-portrait-small.jpg'));
|
158
158
|
let avatarBlob;
|
159
159
|
{
|
160
|
-
const res = await this.agent.com.atproto.repo.uploadBlob(AVATAR_IMG, {
|
160
|
+
const res = await this.agent.api.com.atproto.repo.uploadBlob(AVATAR_IMG, {
|
161
161
|
encoding: 'image/jpeg',
|
162
162
|
headers: this.getHeaders(by),
|
163
163
|
});
|
164
164
|
avatarBlob = res.data.blob;
|
165
165
|
}
|
166
166
|
{
|
167
|
-
const res = await this.agent.app.bsky.actor.profile.create({ repo: by }, {
|
167
|
+
const res = await this.agent.api.app.bsky.actor.profile.create({ repo: by }, {
|
168
168
|
displayName,
|
169
169
|
description,
|
170
170
|
avatar: avatarBlob,
|
@@ -188,7 +188,7 @@ class SeedClient {
|
|
188
188
|
return this.profiles[by];
|
189
189
|
}
|
190
190
|
async updateProfile(by, record) {
|
191
|
-
const res = await this.agent.com.atproto.repo.putRecord({
|
191
|
+
const res = await this.agent.api.com.atproto.repo.putRecord({
|
192
192
|
repo: by,
|
193
193
|
collection: 'app.bsky.actor.profile',
|
194
194
|
rkey: 'self',
|
@@ -203,7 +203,7 @@ class SeedClient {
|
|
203
203
|
}
|
204
204
|
async follow(from, to, overrides) {
|
205
205
|
var _a;
|
206
|
-
const res = await this.agent.app.bsky.graph.follow.create({ repo: from }, {
|
206
|
+
const res = await this.agent.api.app.bsky.graph.follow.create({ repo: from }, {
|
207
207
|
subject: to,
|
208
208
|
createdAt: new Date().toISOString(),
|
209
209
|
...overrides,
|
@@ -217,12 +217,12 @@ class SeedClient {
|
|
217
217
|
if (!follow) {
|
218
218
|
throw new Error('follow does not exist');
|
219
219
|
}
|
220
|
-
await this.agent.app.bsky.graph.follow.delete({ repo: from, rkey: follow.uri.rkey }, this.getHeaders(from));
|
220
|
+
await this.agent.api.app.bsky.graph.follow.delete({ repo: from, rkey: follow.uri.rkey }, this.getHeaders(from));
|
221
221
|
delete this.follows[from][to];
|
222
222
|
}
|
223
223
|
async block(from, to, overrides) {
|
224
224
|
var _a;
|
225
|
-
const res = await this.agent.app.bsky.graph.block.create({ repo: from }, {
|
225
|
+
const res = await this.agent.api.app.bsky.graph.block.create({ repo: from }, {
|
226
226
|
subject: to,
|
227
227
|
createdAt: new Date().toISOString(),
|
228
228
|
...overrides,
|
@@ -236,7 +236,7 @@ class SeedClient {
|
|
236
236
|
if (!block) {
|
237
237
|
throw new Error('block does not exist');
|
238
238
|
}
|
239
|
-
await this.agent.app.bsky.graph.block.delete({ repo: from, rkey: block.uri.rkey }, this.getHeaders(from));
|
239
|
+
await this.agent.api.app.bsky.graph.block.delete({ repo: from, rkey: block.uri.rkey }, this.getHeaders(from));
|
240
240
|
delete this.blocks[from][to];
|
241
241
|
}
|
242
242
|
async post(by, text, facets, images, quote, overrides) {
|
@@ -257,7 +257,7 @@ class SeedClient {
|
|
257
257
|
: recordEmbed
|
258
258
|
? { $type: 'app.bsky.embed.record', ...recordEmbed }
|
259
259
|
: imageEmbed;
|
260
|
-
const res = await this.agent.app.bsky.feed.post.create({ repo: by }, {
|
260
|
+
const res = await this.agent.api.app.bsky.feed.post.create({ repo: by }, {
|
261
261
|
text: text,
|
262
262
|
facets,
|
263
263
|
embed,
|
@@ -275,14 +275,14 @@ class SeedClient {
|
|
275
275
|
return post;
|
276
276
|
}
|
277
277
|
async deletePost(by, uri) {
|
278
|
-
await this.agent.app.bsky.feed.post.delete({
|
278
|
+
await this.agent.api.app.bsky.feed.post.delete({
|
279
279
|
repo: by,
|
280
280
|
rkey: uri.rkey,
|
281
281
|
}, this.getHeaders(by));
|
282
282
|
}
|
283
283
|
async uploadFile(by, filePath, encoding) {
|
284
284
|
const file = await promises_1.default.readFile(filePath);
|
285
|
-
const res = await this.agent.com.atproto.repo.uploadBlob(file, {
|
285
|
+
const res = await this.agent.api.com.atproto.repo.uploadBlob(file, {
|
286
286
|
headers: this.getHeaders(by),
|
287
287
|
encoding,
|
288
288
|
});
|
@@ -290,7 +290,7 @@ class SeedClient {
|
|
290
290
|
}
|
291
291
|
async like(by, subject, overrides) {
|
292
292
|
var _a;
|
293
|
-
const res = await this.agent.app.bsky.feed.like.create({ repo: by }, {
|
293
|
+
const res = await this.agent.api.app.bsky.feed.like.create({ repo: by }, {
|
294
294
|
subject: subject.raw,
|
295
295
|
createdAt: new Date().toISOString(),
|
296
296
|
...overrides,
|
@@ -307,7 +307,7 @@ class SeedClient {
|
|
307
307
|
images,
|
308
308
|
}
|
309
309
|
: undefined;
|
310
|
-
const res = await this.agent.app.bsky.feed.post.create({ repo: by }, {
|
310
|
+
const res = await this.agent.api.app.bsky.feed.post.create({ repo: by }, {
|
311
311
|
text: text,
|
312
312
|
reply: {
|
313
313
|
root: root.raw,
|
@@ -328,7 +328,7 @@ class SeedClient {
|
|
328
328
|
}
|
329
329
|
async repost(by, subject) {
|
330
330
|
var _a;
|
331
|
-
const res = await this.agent.app.bsky.feed.repost.create({ repo: by }, { subject: subject.raw, createdAt: new Date().toISOString() }, this.getHeaders(by));
|
331
|
+
const res = await this.agent.api.app.bsky.feed.repost.create({ repo: by }, { subject: subject.raw, createdAt: new Date().toISOString() }, this.getHeaders(by));
|
332
332
|
(_a = this.reposts)[by] ?? (_a[by] = []);
|
333
333
|
const repost = new RecordRef(res.uri, res.cid);
|
334
334
|
this.reposts[by].push(repost);
|
@@ -336,7 +336,7 @@ class SeedClient {
|
|
336
336
|
}
|
337
337
|
async createList(by, name, purpose, overrides) {
|
338
338
|
var _a;
|
339
|
-
const res = await this.agent.app.bsky.graph.list.create({ repo: by }, {
|
339
|
+
const res = await this.agent.api.app.bsky.graph.list.create({ repo: by }, {
|
340
340
|
name,
|
341
341
|
purpose: purpose === 'mod'
|
342
342
|
? 'app.bsky.graph.defs#modlist'
|
@@ -356,7 +356,7 @@ class SeedClient {
|
|
356
356
|
}
|
357
357
|
async createFeedGen(by, feedDid, name) {
|
358
358
|
var _a;
|
359
|
-
const res = await this.agent.app.bsky.feed.generator.create({ repo: by }, {
|
359
|
+
const res = await this.agent.api.app.bsky.feed.generator.create({ repo: by }, {
|
360
360
|
did: feedDid,
|
361
361
|
displayName: name,
|
362
362
|
createdAt: new Date().toISOString(),
|
@@ -375,7 +375,7 @@ class SeedClient {
|
|
375
375
|
for (const did of actors) {
|
376
376
|
await this.addToList(by, did, list);
|
377
377
|
}
|
378
|
-
const res = await this.agent.app.bsky.graph.starterpack.create({ repo: by }, {
|
378
|
+
const res = await this.agent.api.app.bsky.graph.starterpack.create({ repo: by }, {
|
379
379
|
name,
|
380
380
|
list: list.uriStr,
|
381
381
|
feeds: feeds?.map((uri) => ({ uri })),
|
@@ -392,7 +392,7 @@ class SeedClient {
|
|
392
392
|
return ref;
|
393
393
|
}
|
394
394
|
async addToList(by, subject, list) {
|
395
|
-
const res = await this.agent.app.bsky.graph.listitem.create({ repo: by }, { subject, list: list.uriStr, createdAt: new Date().toISOString() }, this.getHeaders(by));
|
395
|
+
const res = await this.agent.api.app.bsky.graph.listitem.create({ repo: by }, { subject, list: list.uriStr, createdAt: new Date().toISOString() }, this.getHeaders(by));
|
396
396
|
const ref = new RecordRef(res.uri, res.cid);
|
397
397
|
const found = (this.lists[by] ?? {})[list.uriStr];
|
398
398
|
if (found) {
|
@@ -407,12 +407,12 @@ class SeedClient {
|
|
407
407
|
const foundItem = foundList.items[subject];
|
408
408
|
if (!foundItem)
|
409
409
|
return;
|
410
|
-
await this.agent.app.bsky.graph.listitem.delete({ repo: by, rkey: foundItem.uri.rkey }, this.getHeaders(by));
|
410
|
+
await this.agent.api.app.bsky.graph.listitem.delete({ repo: by, rkey: foundItem.uri.rkey }, this.getHeaders(by));
|
411
411
|
delete foundList.items[subject];
|
412
412
|
}
|
413
413
|
async createReport(opts) {
|
414
414
|
const { reasonType, subject, reason, reportedBy } = opts;
|
415
|
-
const result = await this.agent.com.atproto.moderation.createReport({ reasonType, subject, reason }, {
|
415
|
+
const result = await this.agent.api.com.atproto.moderation.createReport({ reasonType, subject, reason }, {
|
416
416
|
encoding: 'application/json',
|
417
417
|
headers: this.getHeaders(reportedBy),
|
418
418
|
});
|
package/dist/seed/client.js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 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atproto/dev-env",
|
3
|
-
"version": "0.3.34
|
3
|
+
"version": "0.3.34",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Local development environment helper for atproto development",
|
6
6
|
"keywords": [
|
@@ -24,17 +24,17 @@
|
|
24
24
|
"get-port": "^5.1.1",
|
25
25
|
"multiformats": "^9.9.0",
|
26
26
|
"uint8arrays": "3.0.0",
|
27
|
+
"@atproto/api": "^0.12.26",
|
28
|
+
"@atproto/bsky": "^0.0.70",
|
27
29
|
"@atproto/bsync": "^0.0.5",
|
28
|
-
"@atproto/
|
30
|
+
"@atproto/common-web": "^0.3.0",
|
29
31
|
"@atproto/crypto": "^0.4.0",
|
30
|
-
"@atproto/api": "^0.13.0-rc.0",
|
31
|
-
"@atproto/lexicon": "^0.4.1-rc.0",
|
32
32
|
"@atproto/identity": "^0.4.0",
|
33
|
-
"@atproto/
|
33
|
+
"@atproto/lexicon": "^0.4.0",
|
34
|
+
"@atproto/ozone": "^0.1.32",
|
35
|
+
"@atproto/pds": "^0.4.43",
|
34
36
|
"@atproto/syntax": "^0.3.0",
|
35
|
-
"@atproto/
|
36
|
-
"@atproto/xrpc-server": "^0.5.4-rc.0",
|
37
|
-
"@atproto/common-web": "^0.3.0"
|
37
|
+
"@atproto/xrpc-server": "^0.5.3"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
40
|
"@types/express": "^4.17.13"
|
package/src/bsky.ts
CHANGED
@@ -105,9 +105,9 @@ export class TestBsky {
|
|
105
105
|
return this.server.ctx
|
106
106
|
}
|
107
107
|
|
108
|
-
getClient()
|
108
|
+
getClient() {
|
109
109
|
const agent = new AtpAgent({ service: this.url })
|
110
|
-
agent.
|
110
|
+
agent.configureLabelersHeader([EXAMPLE_LABELER])
|
111
111
|
return agent
|
112
112
|
}
|
113
113
|
|