@osaas/client-services 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/README.md +11 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -6,14 +6,22 @@ Automatically generated typed service resources.
6
6
 
7
7
  ```javascript
8
8
  import { Context, Log } from '@osaas/client-core';
9
- import { createEyevinnTestAdserverInstance } from '@osaas/client-services';
9
+ import {
10
+ EyevinnTestAdserver,
11
+ EyevinnTestAdserverConfig,
12
+ createEyevinnTestAdserverInstance
13
+ } from '@osaas/client-services';
10
14
 
11
15
  const ctx = new Context();
12
16
 
13
17
  try {
14
- const instance = await createEyevinnTestAdserverInstance(ctx, {
18
+ const config: EyevinnTestAdserverConfig = {
15
19
  name: 'sdk'
16
- });
20
+ };
21
+ const instance: EyevinnTestAdserver = await createEyevinnTestAdserverInstance(
22
+ ctx,
23
+ config
24
+ );
17
25
  console.log(instance.url);
18
26
  } catch (err) {
19
27
  Log().error(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osaas/client-services",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Open Web Service Resources",
5
5
  "author": "Eyevinn Open Source Cloud <osc@eyevinn.se>",
6
6
  "homepage": "https://www.osaas.io",
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "openapi-typescript": "5.4.1"
37
37
  },
38
- "gitHead": "3fa2f5f0dce2421070870cb54d0ac5fc8f0db535"
38
+ "gitHead": "bc109fb5296e02c4fbb0890fe2dd826a76096b57"
39
39
  }