From 837196f673932665553ef4de5534b5a7f5bd42eb Mon Sep 17 00:00:00 2001 From: woodser Date: Sun, 24 Mar 2024 07:47:07 -0400 Subject: [PATCH] add license to source files --- src/HavenoClient.test.ts | 17 +++++++++++++++++ src/HavenoClient.ts | 17 +++++++++++++++++ src/types/HavenoError.ts | 17 +++++++++++++++++ src/utils/HavenoUtils.ts | 17 +++++++++++++++++ src/utils/TaskLooper.ts | 17 +++++++++++++++++ 5 files changed, 85 insertions(+) diff --git a/src/HavenoClient.test.ts b/src/HavenoClient.test.ts index bb26c258..1a91b66b 100644 --- a/src/HavenoClient.test.ts +++ b/src/HavenoClient.test.ts @@ -1,3 +1,20 @@ +/* + * Copyright Haveno + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // --------------------------------- IMPORTS ---------------------------------- // haveno imports diff --git a/src/HavenoClient.ts b/src/HavenoClient.ts index d9f032cf..c88d4dfe 100644 --- a/src/HavenoClient.ts +++ b/src/HavenoClient.ts @@ -1,3 +1,20 @@ +/* + * Copyright Haveno + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import console from "console"; import HavenoError from "./types/HavenoError"; import HavenoUtils from "./utils/HavenoUtils"; diff --git a/src/types/HavenoError.ts b/src/types/HavenoError.ts index e809e3bd..9766a7bb 100644 --- a/src/types/HavenoError.ts +++ b/src/types/HavenoError.ts @@ -1,3 +1,20 @@ +/* + * Copyright Haveno + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /** * Haveno error with message and code. */ diff --git a/src/utils/HavenoUtils.ts b/src/utils/HavenoUtils.ts index 7b6e0bbc..68342471 100644 --- a/src/utils/HavenoUtils.ts +++ b/src/utils/HavenoUtils.ts @@ -1,3 +1,20 @@ +/* + * Copyright Haveno + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import assert from "assert"; import console from "console"; import { PaymentAccountForm, PaymentAccountFormField } from "../protobuf/pb_pb"; diff --git a/src/utils/TaskLooper.ts b/src/utils/TaskLooper.ts index ba7d871f..85f0759e 100644 --- a/src/utils/TaskLooper.ts +++ b/src/utils/TaskLooper.ts @@ -1,3 +1,20 @@ +/* + * Copyright Haveno + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /** * Run a task in a fixed period loop. */